[xsd-users] Support for XSD cxx-parser --suppress-validation

Boris Kolpackov boris at codesynthesis.com
Fri Jan 19 07:21:54 EST 2018


Hari Krishnan <harikrishnanhkks at gmail.com> writes:

> I am encountering some problem while using CodeSynthesis XSD to parse an
> XSD file. The generated code need not use XSD file to parse the XML file. I
> used the option: --suppress-validation. The resulting code was the same and
> is not suppressing validation with xsd-schema. Is there another way to deal
> with the situation?

This options only has effect when you are using a non-validating XML
parser (Expat). If you are using Xerces-C++, then the validation
decision is made at runtime. See documentation for details.

Boris



More information about the xsd-users mailing list