You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Gabe Ernst-Edwards <Er...@pegasystems.com> on 2000/09/07 17:20:18 UTC

SimpleTransform

Has anyone gotten this program to work?  I've tried building it in both
Debug & Release modes (version 0.40 on NT).  In Debug Mode, I get a Debug
Error dialog box, with a Runtime error.  In Release Mode, I get "runtime
error R6025 - pure virtual function call". 

I built a debug version of Xalan.  Stepping through the process() method of
XSLTEngineImpl, I got down to line 678 of XSLTEngineImpl.cpp, which is:

	m_xpathEnvSupport.setSourceDocument(xmlIdentifier, theDocument);

This function throws an exception, with the text:  "Could not parse foo.xml
document!"  Something isn't right however, since an access violation
exception is soon thrown and the higher level SimpleTransform code never
receives the original exception.

I don't know why it can't parse foo.xml.  The file has been placed in the
same directory as the program (and I get a different error if it can't find
the xml file at all).  I've tried using my own xml files which work with
other XSL transform libraries to no avail.

Any ideas?

Thanks

Gabe Ernst-Edwards
Principle Software Engineer, PegaCONNECT
Pegasystems Inc.