Hi Gordon,

Gordon Brown <[email protected]> writes:

> I understand the order of types might not be gurantteed in a sense 
> that it might not be the same as presented in the schema itself. 
> But is it expected that the same piece of code (complexTypeRegistry)
> might return types in different order in different platforms?

The hashtable enumeration works this way because the XMLSize_t type
size varies among 32 and 64-bit platforms which in turn leads to
different hash values. 

I don't think we guarantee any particular order of enumeration nor 
that it will be the same among all the platforms. Though you can add
an enhancement request[1] for this feature if you believe we should
provide such a guarantee.

[1] http://xerces.apache.org/xerces-c/bug-report.html

Boris


-- 
Boris Kolpackov, Code Synthesis        http://codesynthesis.com/~boris/blog
Open-source XML data binding for C++   http://codesynthesis.com/products/xsd
XML data binding for embedded systems  http://codesynthesis.com/products/xsde
Command line interface to C++ compiler http://codesynthesis.com/projects/cli

Reply via email to