[xsd-users] help with xsd generation

Boris Kolpackov boris at codesynthesis.com
Mon Jul 7 14:44:41 EDT 2008


Hi Alex,

Alex Rosenbaum <Alex.Rosenbaum at thomsonreuters.com> writes:

> c:/dev/SimpleRepublisher.xml:4:63 error: Unknown element 'Falcon'

These kind of errors almost invariably mean that the parser could
not find the schema corresponding to your XML document. Because
XML Schema validation is enabled by default you get all these
errors. 

To fix this you can disable XML Schema validation or you can use
several methods to specify schema locations as described in Section
5.1, "XML Schema Validation and Searching" in the C++/Tree Mapping
Getting Started Guide:

http://codesynthesis.com/projects/xsd/documentation/cxx/tree/guide/#5.1

Boris




More information about the xsd-users mailing list