[xsd-users] Courious question
Boris Kolpackov
boris at codesynthesis.com
Thu Dec 20 07:39:59 EST 2007
Hi Mirek,
Miroslaw Madej <dabee21 at gmail.com> writes:
> When we generate code from xsd file is this file still used when we
> launch ./main file.xml?? (./main - this is our program)
This file is used by the underlying XML parser (Xerces-C++) to
perform schema validation if validation in the underlying parser
is not disabled. If validation is disabled then the schema file
is not used.
Section 5.1, "XML Schema Validation and Searching" from the C++/Tree
Mapping Getting Started Guide has more information on enabling/disabling
validation as well as on various ways to provide the schema file to the
underlying XML parser during execution:
http://codesynthesis.com/projects/xsd/documentation/cxx/tree/guide/#5.1
Boris
More information about the xsd-users
mailing list