[xsd-users] Disable Xerces-C Unique Particle Attribution check

Catalin Roman katalin.roman at gmail.com
Mon Mar 22 08:54:43 EDT 2010


Hello everybody,

This is my first post on this mailing list, so please tell me if I did
something wrong by addressing the following problem here:
- I am trying to use XSD(xsd-3.2.0-i686-windows) in VS2008, with
Xerces-C(xerces-c-3.1.0-x86-windows-vc-9.0) to compile a schema that
violates UPA; the schema fragment that's responsible for this is:
<xs:choice minOccurs="0">
            <xs:element name="value" type="boolean"/>
            <xs:element name="value" type="byte"/>

...................................................................
</xs:choice>

I would like to ask if I can "disable" the UPA check performed by the
Xerces-C parser and if it's possible, how can I achieve that ?
Any other hints or workarounds are also most welcomed.

Thanks,
Catalin


More information about the xsd-users mailing list