auriemma 00/08/25 14:19:12
Modified: c/src/TestXPath TestXPath.cpp
Log:
Modified to support for building TestXPath on AIX.
Revision Changes Path
1.17 +5 -1 xml-xalan/c/src/TestXPath/TestXPath.cpp
Index: TestXPath.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/TestXPath/TestXPath.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- TestXPath.cpp 2000/08/22 22:21:59 1.16
+++ TestXPath.cpp 2000/08/25 21:19:10 1.17
@@ -329,7 +329,11 @@
if (theNode->getNodeType() == XalanNode::ELEMENT_NODE)
{
const XalanElement* theElement =
+#if defined(XALAN_OLD_STYLE_CASTS)
+ (const XalanElement*)theNode;
+#else
static_cast<const
XalanElement*>(theNode);
+#endif
theResult = theElement->getAttribute(theAttributeName);
}
@@ -1163,7 +1167,7 @@
typedef std::vector<XalanDOMString> FileNameVectorType;
#endif
- DirectoryEnumeratorFunctor<FileNameVectorType> theEnumerator;
+ DirectoryEnumeratorFunctor<FileNameVectorType, XalanDOMString>
theEnumerator;
FileNameVectorType theFiles;