[xsd-users] Can't parse root element with xmlns attribute.

Boris Kolpackov boris at codesynthesis.com
Tue Nov 19 08:06:05 EST 2013


Hi Erasmo,

Erasmo Aguilera <eaguilerai at hotmail.com> writes:

> The source of my problem was the --generate-validation option. I remove it
> from the XSD compilation and everything worked perfectly.
> 
> Could you please explain me why does it happen?

I am not sure. I tried to add this option to my test and everything
still works fine.

Normally, though, you wouldn't use --generate-validation with
Xerces-C++ since it supports schema validation at the parser
level.

Boris



More information about the xsd-users mailing list