You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2001/06/29 22:55:30 UTC
cvs commit: xml-xalan/c/src/XSLT XSLTEngineImpl.cpp
dbertoni 01/06/29 13:55:30
Modified: c/src/XSLT XSLTEngineImpl.cpp
Log:
Make sure PrefixResolver is set if there's a FormatterListener.
Revision Changes Path
1.104 +8 -0 xml-xalan/c/src/XSLT/XSLTEngineImpl.cpp
Index: XSLTEngineImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XSLT/XSLTEngineImpl.cpp,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -r1.103 -r1.104
--- XSLTEngineImpl.cpp 2001/06/29 18:53:21 1.103
+++ XSLTEngineImpl.cpp 2001/06/29 20:55:27 1.104
@@ -466,6 +466,14 @@
error("No stylesheet is available to process!");
}
+ FormatterListener* const theFormatter =
+ outputTarget.getDocumentHandler();
+
+ if (theFormatter != 0)
+ {
+ theFormatter->setPrefixResolver(this);
+ }
+
m_stylesheetRoot->process(sourceTree, outputTarget, executionContext);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org