Re: Entering freeze for release of libxml2-2.9.9
Stefan Behnel <[email protected]> Sun, 25 Nov 2018 15:37:28 +0100
| Newsgroups | gmane.comp.gnome.lib.xml.general |
|---|---|
| Message-ID | <[email protected]> |
Nikolai Weibull schrieb am 24.11.18 um 00:12: > Yes, it seems that my patch for data in interleaves was added and this may > be the cause of these issues. The regression tests didn’t display them, so > this is something different. Could we perhaps get a minimal test that breaks? Here is what I could come up with so far. Since it's heavily stripped down, it probably isn't very reasonable anymore. The original schema is here: https://github.com/lxml/lxml/blob/82601a09d015bc3e7a4090223fcbb9a5d5d4590d/src/lxml/isoschematron/resources/rng/iso-schematron.rng If any of the "interleave" tags is removed or otherwise modified (as far as I tried), it either validates (i.e. stops failing) or fails with a different error than the one I was chasing. The validation succeeds in xmllint 2.9.4 (and probably later versions), and fails in 2.9.9-rc1. Does this help? Stefan _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] https://mail.gnome.org/mailman/listinfo/xml
iso-schematron.rng
(application/xml, 1.7 KB) - not displayed
fail_to_validate.xml
(text/plain, 259 B)
<schema xmlns="http://purl.oclc.org/dsdl/schematron">
<title>Open Model</title>
<rule context="AAA">
<assert test="BBB"> BBB element is not present</assert>
<assert test="CCC"> CCC element is not present</assert>
</rule>
</schema>