Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.5
-
None
-
All
Description
Hi All,
Hope all is going well.
Using the following XSD snippet:
<xs:element name="text">
<xs:complexType mixed="true">
<xs:choice minOccurs="0" maxOccurs="1">
<xs:element ref="problem"/>
<xs:element ref="reason"/>
<xs:element ref="solution"/>
</xs:choice>
.... attribute definitions ....
</xs:complexType>
</xs:element>
it seems that the "mixed" attribute is ignored as the following
<text>
some text
</text>
Doesn't parse correctly. However
<text>
<problem>some text</problem>
</text>
Does.
My input XML document and XSD schema validates correctly using xmllint - is "mixed=true" a bug or known issue?
Cheers,
Marcus