Hi,
I am having a problem using the nethod.
nt XalanTransfomer::parseSource (const XSLTInputSource &, const XalanParsedSource *&, bool useXercesDOM=false)
In particular when I specify the flag useXercesDOM as true then whenever the ParsedSource is destroyed
(either explicitly or when the XalanTransfomer is deleted) I get an assertion failure.
The assertion would appear to be because an object is being allocated with one MemoryManager
and being de-allocated with another.
I have only tested this problem on windows with Xalan 1.9 and Xerces 2.6 but the nature of the problem
suggests that it's platform independent.
I have re-created the problem with a smaller program.
If you take the TransformToXercesDOM sample and you change the line (192) from
theResult = theTransformer.parseSource(argv[1], theParsedSource);
to
theResult = theTransformer.parseSource(argv[1], theParsedSource, true);
this reproduces the problem.
Regards,
Perer Marron
- Xalan parsing usiing Xerces Peter . Marron
- Re: Xalan parsing usiing Xerces David Bertoni
- Again on compiling Xalan with VC8 (VS2005) mauro castelli
