dbertoni 01/04/11 15:41:53
Modified: c/src/XSLT XalanTemplate.cpp
Log:
Lots more stuff.
Revision Changes Path
1.19 +47 -2 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.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- XalanTemplate.cpp 2001/04/11 17:12:10 1.18
+++ XalanTemplate.cpp 2001/04/11 22:41:50 1.19
@@ -99,6 +99,8 @@
#include <PlatformSupport/AttributeListImpl.hpp>
#include <PlatformSupport/AttributeVectorEntry.hpp>
+#include <PlatformSupport/AttributesImpl.hpp>
+#include <PlatformSupport/AttributeVectorEntryExtended.hpp>
#include <PlatformSupport/DOMStringHelper.hpp>
#include <PlatformSupport/PrintWriter.hpp>
#include <PlatformSupport/XalanOutputStream.hpp>
@@ -118,6 +120,7 @@
#include <XMLSupport/FormatterToHTML.hpp>
#include <XMLSupport/FormatterToXML.hpp>
#include <XMLSupport/FormatterToDOM.hpp>
+#include <XMLSupport/FormatterToText.hpp>
@@ -176,12 +179,19 @@
+#include <XalanTransformer/XalanTransformer.hpp>
+#include <XalanTransformer/XalanCompiledStylesheet.hpp>
+#include <XalanTransformer/XalanParsedSource.hpp>
+
+
+
static string theString;
static vector<XalanDOMString> theDOMStringVector;
static vector<char> theCharVector;
static vector<wchar_t> theWCharVector;
static vector<unsigned char> theUnsignedCharVector;
static AttributeListImpl::AttributeVectorType theAttributeVectorEntryVector;
+static AttributesImpl::AttributesVectorType theAttributesVectorEntryVector;
static allocator<DOMString> theAllocator;
static vector<pair<const XalanNode*,NSInfo> > theXalanNodeVector;
static FormatterToHTML::ElemDesc theElemDesc;
@@ -202,6 +212,9 @@
static ElemNumber::NumberingResourceBundleMapType
theNumberingResourceBundleMapType;
static XalanTranscodingServices::MaximumCharacterValueMapType
theMaximumCharacterValueMapType;
static set<XalanNode*, less<XalanNode*> > theInstanceSetType;
+static XalanTransformer::CompiledStylesheetPtrVectorType
theCompiledStylesheetVector;
+static XalanTransformer::ParsedSourcePtrVectorType
theParsedSourceVector;
+static XalanTransformer::ParamPairVectorType
theParamsVector;
@@ -251,8 +264,16 @@
AttributeListImpl::AttributeVectorType theVector;
for_each(theVector.begin(),
- theVector.end(),
- DeleteFunctor<AttributeVectorEntry>());
+ theVector.end(),
+ DeleteFunctor<AttributeVectorEntry>());
+ }
+
+ {
+ AttributesImpl::AttributesVectorType theVector;
+
+ for_each(theVector.begin(),
+ theVector.end(),
+ DeleteFunctor<AttributeVectorEntryExtended>());
}
{
@@ -331,6 +352,14 @@
}
{
+ StylesheetExecutionContextDefault::FormatterToTextCacheType
theCache;
+
+ for_each(theCache.begin(),
+ theCache.end(),
+ MapValueDeleteFunctor<FormatterToText>());
+ }
+
+ {
Stylesheet::ExtensionNamespacesMapType theMap;
for_each(theMap.begin(),
@@ -560,6 +589,22 @@
*theComparer);
}
+ {
+ XalanTransformer::CompiledStylesheetPtrVectorType
theVector;
+
+ for_each(theVector.begin(),
+ theVector.end(),
+ DeleteFunctor<XalanCompiledStylesheet>());
+ }
+
+ {
+ XalanTransformer::ParsedSourcePtrVectorType
theVector;
+
+ for_each(theVector.begin(),
+ theVector.end(),
+ DeleteFunctor<XalanParsedSource>());
+ }
+
{
ostream* const theStream = 0;
const string theString;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]