[xsd-users] External entity declaration in instance documents

Boris Kolpackov boris at codesynthesis.com
Fri Aug 27 14:12:00 EDT 2010


Hi Florian,

Florian Schmidt <fschmidt at techfak.uni-bielefeld.de> writes:

> > And indeed i found a spot in one of the used libs that sets up
> > xerces-c++ to use cached grammars. Let's see if i find a way to make it
> > not do this..
> 
> Hmm, this is all very weird. It seems to me that if the XSD functions
> set up the parsing not to use caching, then another lib using Xerces-C
> _with_ caching shouldn't interfere, as there shouldn't be shared global
> state (every xerces user calls Initialize() and creates their own parser).

Yes, I also thought this is very strange. The caching is a per-parser
parameter and the library and XSD do not share parsers. Could it be
that it is the library that is printing the error message and not 
the XSD error handler?

Boris



More information about the xsd-users mailing list