dbertoni 01/03/29 14:13:52
Modified: c/src/XalanSourceTree XalanSourceTreeParserLiaison.cpp
Log:
Set entity resolver.
Revision Changes Path
1.9 +14 -0
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeParserLiaison.cpp
Index: XalanSourceTreeParserLiaison.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeParserLiaison.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- XalanSourceTreeParserLiaison.cpp 2001/02/02 23:10:11 1.8
+++ XalanSourceTreeParserLiaison.cpp 2001/03/29 22:13:51 1.9
@@ -174,6 +174,13 @@
theReader->setLexicalHandler(&theContentHandler);
+ EntityResolver* const theResolver = getEntityResolver();
+
+ if (theResolver != 0)
+ {
+ theReader->setEntityResolver(theResolver);
+ }
+
theReader->parse(inputSource);
XalanSourceTreeDocument* const theDocument =
theContentHandler.detachDocument();
@@ -301,6 +308,13 @@
theReader->setErrorHandler(&m_xercesParserLiaison);
theReader->setLexicalHandler(theLexicalHandler);
+
+ EntityResolver* const theResolver = getEntityResolver();
+
+ if (theResolver != 0)
+ {
+ theReader->setEntityResolver(theResolver);
+ }
theReader->parse(theInputSource);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]