[xsd-users] Xsd crash

Boris Kolpackov boris at codesynthesis.com
Mon Mar 22 11:36:59 EDT 2010


Hi Angelo,

Boris Kolpackov <boris at codesynthesis.com> writes:

> Angelo Difino <angelo at smartrm.com> writes:
> 
> > I've got a similar trouble on my schemas... I'm not sure the problem is  
> > the same, but I suppose is very close.
> 
> The stack trace ends in the Xerces-C++ code, so this is a different 
> problem. I am going to try to track it down and will let you know 
> what I find.

Ok, I have fixed this bug in Xerces-C++ and committed the fix for the
upcoming Xerces-C++ 3.1.1 release.

I have also built a pre-release binary for XSD 3.3.0.b2 with this fix
which you can download from here (I assume you are using Windows):

http://www.codesynthesis.com/~boris/tmp/xsd-3.3.0.b2-i686-windows.zip

This version compiles your schemas without any problems.

You will also need to use the updated version of Xerces-C++ in your
application IF you have XML Schema validation enabled AND using
loadGrammar() to pre-load the schemas. In particular, you can still 
use unmodified Xerces-C++ 3.1.0 if you use the schemaLocation
attributes in your XML or the schema_location property to load
the schemas (the bug does not affect these use-cases).

In case you need it, the updated version of Xerces-C++ with the fix 
is available here:

http://www.codesynthesis.com/~boris/tmp/xerces-c-3.1.1.a1.zip
http://www.codesynthesis.com/~boris/tmp/xerces-c-3.1.1.a1.tar.gz

Let me know if you run into any problems.

Boris



More information about the xsd-users mailing list