Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

moving oval-def:NotesType to OVAL Common breaks backward compatibility #237

Closed
djhaynes opened this issue Mar 3, 2015 · 1 comment
Closed
Milestone

Comments

@djhaynes
Copy link
Contributor

djhaynes commented Mar 3, 2015

In addressing issue #6, we ended up breaking backward compatibility because we moved the NotesType construct from the OVAL Definitions Model to the OVAL Common Model. As a result, when pre-OVAL 5.11 content is validated against OVAL 5.11, it is finding oval-def:notes and oval-def:note elements, but, is expecting oval:notes and oval:note elements.

Please see the following thread for more information.

http://making-security-measurable.1364806.n2.nabble.com/5-11-backwards-incompatibility-issue-Suspect-the-fix-for-issue-6-was-the-culprit-tp7586190.html

@mpreisler
Copy link

The following commit fixes compatibility issues in openscap. Could serve as an inspiration for OVAL 5.11.1 change addressing this.

OpenSCAP/openscap@8e1f69c

There is one issue, the change allows empty elements whereas they weren't allowed previously. I believe we can address this in schematron but I haven't implemented that yet. It could also be addressed with xsd:assert but we'd need to use XSD 1.1 which is not well supported.

Comments welcome.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants