Hi,
When you have a union of enumerations, such as for instance:
<xs:simpleType>
<xs:union>
<xs:simpleType>
<xs:restriction base="xs:integer">
<xs:enumeration value="1"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="undefined"/>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>
XXE 2.6 doesn't provide a list of values to the user like it would do
without the union.
Is that something that could be fixed?
Thanks,
Eric
PS: repro case attached.
--
If you have a XML document, you have its schema.
http://examplotron.org
Upcoming XML schema languages tutorial:
- Portland -half day- (27/07/2004) http://masl.to/?E6ED13728
------------------------------------------------------------------------
Eric van der Vlist http://xmlfr.org http://dyomedea.com
(ISO) RELAX NG ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: union.xml
Type: text/xml
Size: 199 bytes
Desc: not available
Url :
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20040527/9d1f6fc9/attachment.xml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: union.css
Type: text/css
Size: 27 bytes
Desc: not available
Url :
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20040527/9d1f6fc9/attachment.css
-------------- next part --------------
A non-text attachment was scrubbed...
Name: union.xsd
Type: text/xml
Size: 768 bytes
Desc: not available
Url :
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20040527/9d1f6fc9/attachment-0001.xml