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 2002/03/12 05:25:30 UTC
cvs commit: xml-xalan/c/src/XSLT XalanTemplate.cpp
dbertoni 02/03/11 20:25:30
Modified: c/src/XSLT XalanTemplate.cpp
Log:
More fixes for STLport 4.5.3.
Revision Changes Path
1.33 +230 -6 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.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- XalanTemplate.cpp 7 Feb 2002 01:41:28 -0000 1.32
+++ XalanTemplate.cpp 12 Mar 2002 04:25:29 -0000 1.33
@@ -142,6 +142,7 @@
#include <XercesParserLiaison/XercesDocumentBridge.hpp>
#include <XercesParserLiaison/XercesNamedNodeListCache.hpp>
#include <XercesParserLiaison/XercesParserLiaison.hpp>
+#include <XercesParserLiaison/XercesToXalanNodeMap.hpp>
@@ -227,7 +228,7 @@
using std::replace;
#endif
- {
+ {
XObjectFactoryDefault::XObjectCollectionType theVector;
XObjectFactoryDefault theFactory;
@@ -236,16 +237,16 @@
XObjectFactoryDefault::DeleteXObjectFunctor(theFactory, true));
}
- {
+ {
XPathFactoryDefault::CollectionType theVector;
- XPathFactoryDefault theXPath;
+ XPathFactoryDefault theXPath;
for_each(theVector.begin(),
theVector.end(),
XPathFactoryDefault::DeleteXPathFunctor(theXPath, true));
}
-
- {
+
+ {
XPathFunctionTable::CollectionType theVector;
for_each(theVector.begin(),
@@ -253,7 +254,7 @@
XPathFunctionTable::DeleteFunctorType());
}
- {
+ {
XalanDOMStringCache::StringListType theVector;
for_each(theVector.begin(),
@@ -636,6 +637,229 @@
theVector.end(),
DeleteFunctor<XalanParsedSource>());
}
+
+#if __SGI_STL_PORT >= 452
+
+ {
+ VariablesStack::RecursionGuardStackType theStack;
+
+ const ElemVariable* const var = 0;
+
+ find(
+ theStack.begin(),
+ theStack.end(),
+ var);
+ }
+
+ {
+ XalanTransformer::CompiledStylesheetPtrVectorType theVector;
+
+ const XalanCompiledStylesheet* theStylesheet = 0;
+
+ find(
+ theVector.begin(),
+ theVector.end(),
+ theStylesheet);
+ }
+
+ {
+ XalanTransformer::ParsedSourcePtrVectorType theVector;
+
+ const XalanParsedSource* theParsedSource = 0;
+
+ find(
+ theVector.begin(),
+ theVector.end(),
+ theParsedSource);
+ }
+
+ {
+ const XMLCh* const name = 0;
+
+ AttributeListImpl::AttributeVectorType theVector;
+
+ find_if(
+ theVector.begin(),
+ theVector.end(),
+ AttributeListImpl::NameCompareFunctor(name));
+ }
+
+ {
+ const XMLCh* const name = 0;
+
+ const AttributeListImpl::AttributeVectorType theVector;
+
+ find_if(
+ theVector.begin(),
+ theVector.end(),
+ AttributeListImpl::NameCompareFunctor(name));
+ }
+
+ {
+ const XMLCh* const uri = 0;
+ const XMLCh* const localName = 0;
+
+ const AttributesImpl::AttributesVectorType theVector;
+
+ find_if(
+ theVector.begin(),
+ theVector.end(),
+ AttributesImpl::URIAndLocalNameCompareFunctor(uri, localName));
+ }
+
+ {
+ const XMLCh* const uri = 0;
+ const XMLCh* const localName = 0;
+
+ const AttributesImpl::AttributesVectorType theVector;
+
+ find_if(
+ theVector.begin(),
+ theVector.end(),
+ AttributesImpl::URIAndLocalNameCompareFunctor(uri, localName));
+ }
+
+ {
+ const XMLCh* const name = 0;
+
+ AttributesImpl::AttributesVectorType theVector;
+
+ find_if(
+ theVector.begin(),
+ theVector.end(),
+ AttributesImpl::NameCompareFunctor(name));
+ }
+
+ {
+ const XMLCh* const name = 0;
+
+ const AttributesImpl::AttributesVectorType theVector;
+
+ find_if(
+ theVector.begin(),
+ theVector.end(),
+ AttributesImpl::NameCompareFunctor(name));
+ }
+
+ {
+ const XalanDOMChar* theString = 0;
+
+ const XalanDOMStringHashTable::BucketType theBucket;
+
+ find_if(
+ theBucket.begin(),
+ theBucket.end(),
+ XalanDOMStringHashTable::equalsXalanDOMString(theString, 0));
+ }
+
+ {
+ const XalanNode* theXalanNode = 0;
+
+ const XercesToXalanNodeMap::XercesNodeMapType theMap;
+
+ find_if(
+ theMap.begin(),
+ theMap.end(),
+ XercesToXalanNodeMap::NameMapEqualsFunctor(theXalanNode));
+ }
+
+ {
+ const XalanNode* theXalanNode = 0;
+
+ NodeRefList::NodeListVectorType theVector;
+
+ find(
+ theVector.begin(),
+ theVector.end(),
+ theXalanNode);
+ }
+
+ {
+ const XalanNode* theXalanNode = 0;
+
+ const NodeRefList::NodeListVectorType theVector;
+
+ find(
+ theVector.begin(),
+ theVector.end(),
+ theXalanNode);
+ }
+
+ {
+ const Stylesheet::MatchPattern2* thePattern = 0;
+
+ Stylesheet::PatternTableVectorType theVector;
+
+ find(
+ theVector.begin(),
+ theVector.end(),
+ thePattern);
+ }
+
+ {
+ XalanNode* theXalanNode = 0;
+
+ XercesDocumentBridge::NodeVectorType theVector;
+
+ find(
+ theVector.begin(),
+ theVector.end(),
+ theXalanNode);
+ }
+
+ {
+ XalanDOMString* theString = 0;
+
+ XalanDOMStringCache::StringListType theList;
+
+ find(
+ theList.begin(),
+ theList.end(),
+ theString);
+ }
+
+ {
+ const XalanQName* theQName;
+
+ const StylesheetRoot::QNameVectorType theVector;
+
+ find(
+ theVector.begin(),
+ theVector.end(),
+ *theQName);
+ }
+
+ {
+ const StylesheetHandler::BoolStackType theStack;
+
+ find(
+ theStack.rbegin(),
+ theStack.rend(),
+ true);
+ }
+
+ {
+ const ElemTemplateElement* theElement = 0;
+
+ const StylesheetExecutionContextDefault::ElementRecursionStackType theStack;
+
+ find(
+ theStack.begin(),
+ theStack.end(),
+ theElement);
+ }
+
+ {
+ XObjectFactoryDefault::XObjectCollectionType theCollection;
+ XObject* theXObject;
+
+ find(
+ theCollection.begin(),
+ theCollection.end(),
+ theXObject);
+ }
+
+#endif
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org