Wrong validation of XML documents containing nested interleaves.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libxml2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Tested against libxml2 version 2.9.1 in:
* PHP 5.5 on Ubuntu 13.10,
* Python with lxml on Ubuntu 13.10 and Cygwin.
Validation of XML documents using Relax NG schema containing nested interleaves gives incorrect results (in some cases).
Specifically using following test.rng schema all specified test.xml documents should be valid.
But <root><
test.rng:
<element name="root" xmlns="http://
<interleave>
<element name="tag"
<choice>
</choice>
</interleave>
</element>
test.xml:
<root><
<root><
<root><
<root><
<root><
<root><
<root><
<root><
<root><
<root><
<root><
<root><