Eric van der Vlist wrote:
> 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?

Fixed no, because there is no bug here: XXE is simply not smart enough 
to detect this case.

Given how XXE is designed, this enhancement is nearly impossible to 
implement.

But as a workaround, you can embed in the document view a control (list, 
combo, radio buttons) just showing these 2 values. See 
http://www.xmlmind.com/xmleditor/_distrib/docs/csssupport/ch05s23.html


Reply via email to