Open h3xx opened 2 years ago
You made changes in the schemas in this PR, which shouldn't be impacted.
You made changes in the schemas in this PR, which shouldn't be impacted.
You're right, but that was because I initially made this PR to add CI testing for a schema change I wanted to make.
The change I wanted to make was included intentionally because it fixed a document validation issue, but I took it out per your request. I'll add the test into my other PR (#29).
If you don't think this is flexible enough, I could add support for an annotation in the XML doc's comment like @exclude v3.*
. Or @group v2.1
to include testing against v2.1.
Put XML files here that should either pass or fail validation against the XSD schema.
For files that should validate against every version of the schema, use the
all
directory.tests/all/valid/<FILE>
tests/all/invalid/<FILE>
Otherwise use
<version>
as the directory name.tests/<VERSION>/valid/<FILE>
tests/<VERSION>/invalid/<FILE>
E.g.
tests/v2.1/invalid/foo.xml
.