dbertoni 01/06/21 08:36:40
Modified: c/Tests/Threads ThreadTest.cpp
Log:
Changes for new XalanTransformer interfaces.
Revision Changes Path
1.14 +2 -2 xml-xalan/c/Tests/Threads/ThreadTest.cpp
Index: ThreadTest.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/Tests/Threads/ThreadTest.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ThreadTest.cpp 2001/06/07 14:56:12 1.13
+++ ThreadTest.cpp 2001/06/21 15:36:37 1.14
@@ -371,14 +371,14 @@
const char* const theXSLFileName =
"birds.xsl";
- glbCompiledStylesheet =
theXalanTransformer.compileStylesheet(theXSLFileName);
+
theXalanTransformer.compileStylesheet(theXSLFileName, glbCompiledStylesheet);
assert(glbCompiledStylesheet != 0);
// Compile the XML source document as well. All
threads will use
// this binary representation of the source
tree.
const char* const theXMLFileName =
"birds.xml";
- glbParsedSource =
theXalanTransformer.parseSource(theXMLFileName);
+ theXalanTransformer.parseSource(theXMLFileName,
glbParsedSource);
assert(glbParsedSource != 0);
doThreads(threadCount);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]