[xsd-users] validating expat parser fails
Boris Kolpackov
boris at codesynthesis.com
Thu Sep 25 04:20:47 EDT 2014
Hi Ovanes,
Ovanes Markarian <om_codesynthesis at keywallet.com> writes:
> I use xsd 4.0 with expat parser. On Mac OS X everything works fine, but
> after compiling the parser on Ubuntu Linux with clang 3.3 I get a
> validation error stating smth. like:
>
> :143:2 error: '1002' is not a valid value representation for type 'integer'
This could be many things (bug in XSD, bug in Clang, etc). So some things
to try:
1. Build with different optimization options (and with optimization disabled)
and see if that makes any difference. I vaguely remember there was some
version of Clang that miscompiled code when optimization enabled.
2. Build with GCC on Linux and see if that works.
3. Upgrade to more recent clang and try to build with address sanitizer.
Boris
More information about the xsd-users
mailing list