On 2/2/2010 11:02 AM, Gordon Brown wrote:
Hi All,
I am having a perplexing problem using Xerces 3.0 to parse an XML with a
reference to its XML schema. Basically, the schema defines an abstract
complex type and several derived types (using extension or restriction).
I built the Xerces library by myself (in different platforms), and I ran
the same problem in different platforms (for example, windows 32 bit and
windows 64 bit). What I noticed is that the order of elements (in this
case derived complex types) is different in windows 32 bit from windows
64 bit! Is this a known issue or I did something wrong?
I am attaching my schema here.
Thanks much in advance!
I'm not sure there's any guarantee for the order of complex types in the
grammar.
If you want them in a particular order, you could always sort them by
type name. Will that work for your purposes?
Dave