dbertoni 01/01/30 14:00:47
Modified: c/src/XSLT ElemCopy.cpp
Log:
Make sure we get the node name from DOMServices::getNameOfNode(). Also, we
c_wstr() instead of toCharArray().
Revision Changes Path
1.9 +6 -2 xml-xalan/c/src/XSLT/ElemCopy.cpp
Index: ElemCopy.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XSLT/ElemCopy.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ElemCopy.cpp 2001/01/26 21:17:14 1.8
+++ ElemCopy.cpp 2001/01/30 22:00:44 1.9
@@ -62,6 +62,10 @@
+#include <DOMSupport/DOMServices.hpp>
+
+
+
#include "Constants.hpp"
#include "Stylesheet.hpp"
#include "StylesheetConstructionContext.hpp"
@@ -138,9 +142,9 @@
sourceNode,
mode);
- const XalanDOMString& s = sourceNode->getNodeName();
+ const XalanDOMString& s =
DOMServices::getNameOfNode(*sourceNode);
- executionContext.endElement(toCharArray(s));
+ executionContext.endElement(c_wstr(s));
}
else
{