[xsd-users] Can't parse root element with xmlns attribute.
Erasmo Aguilera
eaguilerai at hotmail.com
Tue Nov 19 13:59:30 EST 2013
Hi Boris,
You're right, I wouldn't use it. I included it because I was making tests
with both Xerces and Expat. That way I avoided the nuisance of putting and
quitting the option.
It must be a subtlety. If you didn't before, maybe you should try to make a
test with the exact same components I gave you at the beginning (i.e., files
and XSD command). If you already did it, then only God will know what
happened.
Thanks a lot.
Erasmo.
-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com]
Sent: martes, 19 de noviembre de 2013 07:06 a.m.
To: Erasmo Aguilera
Cc: xsd-users at codesynthesis.com
Subject: Re: [xsd-users] Can't parse root element with xmlns attribute.
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