You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Gareth Reakes <ga...@decisionsoft.com> on 2000/12/08 16:06:28 UTC
cvs tree does not build
Problem in RangeImpl.cpp
Fix is RangeImpl.cppnew
--- RangeImpl.cpp Fri Dec 8 14:52:52 2000
+++ RangeImpl.cppnew Fri Dec 8 14:48:56 2000
@@ -762,8 +762,8 @@
}
}
- if ( fEndContainer.getNodeType()!= DOM_Node.TEXT_NODE &&
- fEndContainer.getNodeType()!= DOM_Node.CDATA_SECTION_NODE ){
+ if ( fEndContainer.getNodeType() != DOM_Node::TEXT_NODE &&
+ fEndContainer.getNodeType() != DOM_Node::CDATA_SECTION_NODE ){
int i=fEndOffset;
stopNode = fEndContainer.getFirstChild();
while( i>0 && stopNode!=null ){
@@ -776,8 +776,8 @@
while (node != stopNode) { //look into all kids of the Range
if (node == null) break;
- if (node.getNodeType() == DOM_Node.TEXT_NODE
- || node.getNodeType() == DOM_Node.CDATA_SECTION_NODE) {
+ if (node.getNodeType() == DOM_Node::TEXT_NODE
+ || node.getNodeType() == DOM_Node::CDATA_SECTION_NODE) {
tempString.appendData(node.getNodeValue());
}
node = nextNode(node, true);
Gareth