dbertoni 2002/09/26 00:02:49
Modified: c/src/XSLT XalanTemplate.cpp
Log:
Updated for source changes.
Revision Changes Path
1.41 +10 -14 xml-xalan/c/src/XSLT/XalanTemplate.cpp
Index: XalanTemplate.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XSLT/XalanTemplate.cpp,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- XalanTemplate.cpp 9 Sep 2002 19:03:43 -0000 1.40
+++ XalanTemplate.cpp 26 Sep 2002 07:02:49 -0000 1.41
@@ -104,7 +104,6 @@
#include <PlatformSupport/PrintWriter.hpp>
#include <PlatformSupport/XalanOutputStream.hpp>
#include <PlatformSupport/XalanUnicode.hpp>
-#include <PlatformSupport/XalanTranscodingServices.hpp>
#include <PlatformSupport/XalanDOMStringCache.hpp>
@@ -117,7 +116,6 @@
#include <XPath/XPathExpression.hpp>
#include <XPath/XPathFactoryBlock.hpp>
#include <XPath/XPathFactoryDefault.hpp>
-#include <XPath/XPathFunctionTable.hpp>
@@ -191,7 +189,6 @@
map<int,int,less<int> > theIntMap;
vector<NamespacesHandler::NamespacesMapType::iterator>
theNamespacesMapTypeIteratorVector;
VariablesStack::ParamsVectorType theParamsVector;
- XalanTranscodingServices::MaximumCharacterValueMapType
theMaximumCharacterValueMapType;
set<XalanNode*, less<XalanNode*> > theInstanceSetType;
XalanTransformer::CompiledStylesheetPtrVectorType
theCompiledStylesheetVector;
XalanTransformer::ParsedSourcePtrVectorType
theParsedSourceVector;
@@ -220,14 +217,6 @@
}
{
- XPathFunctionTable::CollectionType theVector;
-
- for_each(theVector.begin(),
- theVector.end(),
- XPathFunctionTable::DeleteFunctorType());
- }
-
- {
XalanDOMStringCache::StringListType theVector;
for_each(theVector.begin(),
@@ -405,11 +394,18 @@
}
{
- StylesheetConstructionContextDefault::StylesheetSetType theSet;
+ StylesheetConstructionContextDefault::StylesheetVectorType
theVector;
+ StylesheetRoot* theStylesheetRoot;
+
+ find(
+ theVector.begin(),
+ theVector.end(),
+ theStylesheetRoot);
+
for_each(
- theSet.begin(),
- theSet.end(),
+ theVector.begin(),
+ theVector.end(),
DeleteFunctor<StylesheetRoot>());
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]