[xsd-users] warning with any
Boris Kolpackov
boris at codesynthesis.com
Wed Jul 2 15:30:21 EDT 2008
Hi Ray,
Rizzuto, Raymond <Raymond.Rizzuto at sig.com> writes:
> However, no error is generated with either of these command lines:
>
> xsd.exe cxx-parser --xml-parser expat simple.xsd
> xsd.exe cxx-parser --generate-validation simple.xsd
In this case we perform validation in the generated code and thus
can always associate things correctly.
> I don't know if there is sufficient demand for it, but having an option
> (like --generate-validation for the cxx-tree) to generate a "perfect"
> parser would address this case, albeit probably with a performance hit.
It would also require a substantial effort to implement. We are currently
working on another in-memory mapping similar to C++/Tree which will support
XML Schema validation in the generated code.
Boris
More information about the xsd-users
mailing list