mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-10-26 20:25:14 +03:00
4013e83e84
* xmlschemas.c: when a particle need to be processed via counted transition, if the group is nillable, the counting won't work, so keep track of nillable subset as they are built and generate the appropriate epsilon transitions as needed * test/schemas/579746* result/schemas/579746*: add related test cases based on the bug report
12 lines
409 B
XML
12 lines
409 B
XML
<?xml version="1.0"?>
|
|
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
|
<xsd:element name= "contact" type="ContactType"/>
|
|
<xsd:complexType name="ContactType">
|
|
<xsd:choice minOccurs="2" maxOccurs="2">
|
|
<xsd:element name="customer" type="xsd:string" />
|
|
<xsd:element name="comment" type="xsd:string" minOccurs="0"/>
|
|
</xsd:choice>
|
|
</xsd:complexType>
|
|
</xsd:schema>
|
|
|