Michelle, Please don't cross-post to multiple mailing lists. c-users is sufficient for questions about Xerces-C++ usage.
michelle....@sybase.com <michelle....@sybase.com> writes: > xsi:schemaLocation="http://about.reuters.com/results/2002-06-30/001 > http://www-edm/remote/svr/groups/xmltest/xmlschema/XBRL_Reuters/Reuters-Interims-xbrl-001.xsd > http://www.iasb.org.uk/xbrl/2002-02-25/003 http://www-edm/remote/svr/gro > ups/xmltest/xmlschema/XBRL_Reuters/UK-draft-25-Feb-2002-v2-003.xsd" > > [...[ > > In addition, if I switched the 2 pairs of the schemaLocation, it will > work. Any idea why? Probably because the first schema (Reuters-Interims-xbrl-001.xsd) imports (directly or indirectly) another schema for the http://www.iasb.org.uk/xbrl/2002-02-25/003 namespace. As a result, UK-draft-25-Feb-2002-v2-003.xsd is ignored since Xerces-C++ thinks it already has the grammar for this namespace. Boris -- Boris Kolpackov, Code Synthesis Tools http://codesynthesis.com/~boris/blog Open source XML data binding for C++: http://codesynthesis.com/products/xsd Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde
