You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by kn...@apache.org on 2001/12/05 21:12:30 UTC
cvs commit: xml-xerces/c/src/validators/schema XUtil.cpp
knoaman 01/12/05 12:12:30
Modified: c/src/validators/schema XUtil.cpp
Log:
Use getLocalName instead of getNodeName.
Revision Changes Path
1.6 +5 -2 xml-xerces/c/src/validators/schema/XUtil.cpp
Index: XUtil.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/validators/schema/XUtil.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- XUtil.cpp 2001/11/02 14:13:45 1.5
+++ XUtil.cpp 2001/12/05 20:12:30 1.6
@@ -56,6 +56,9 @@
/*
* $Log: XUtil.cpp,v $
+ * Revision 1.6 2001/12/05 20:12:30 knoaman
+ * Use getLocalName instead of getNodeName.
+ *
* Revision 1.5 2001/11/02 14:13:45 knoaman
* Add support for identity constraints.
*
@@ -316,7 +319,7 @@
for (unsigned int i = 0; i < length; i++)
{
if (child.getNamespaceURI().equals(uriStr) &&
- XMLString::compareString(child.getNodeName().rawBuffer(), elemNames[i]) ==0)
+ XMLString::compareString(child.getLocalName().rawBuffer(), elemNames[i]) ==0)
return (DOM_Element&)child;
}
}
@@ -513,7 +516,7 @@
for (unsigned int i = 0; i < length; i++)
{
if (sibling.getNamespaceURI().equals(uriStr) &&
- XMLString::compareString(sibling.getNodeName().rawBuffer(), elemNames[i]) ==0)
+ XMLString::compareString(sibling.getLocalName().rawBuffer(), elemNames[i]) ==0)
return (DOM_Element&)sibling;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org