You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2002/07/05 22:12:36 UTC
cvs commit: xml-xerces/c/src/xercesc/internal VecAttrListImpl.cpp
tng 2002/07/05 13:12:36
Modified: c/src/xercesc/internal VecAttrListImpl.cpp
Log:
[Bug 9788] VecAttrListImpl::getValue skips prefix if SAX namespace validation is on.
Revision Changes Path
1.3 +6 -3 xml-xerces/c/src/xercesc/internal/VecAttrListImpl.cpp
Index: VecAttrListImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/internal/VecAttrListImpl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- VecAttrListImpl.cpp 27 Feb 2002 16:49:40 -0000 1.2
+++ VecAttrListImpl.cpp 5 Jul 2002 20:12:35 -0000 1.3
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.3 2002/07/05 20:12:35 tng
+ * [Bug 9788] VecAttrListImpl::getValue skips prefix if SAX namespace validation is on.
+ *
* Revision 1.2 2002/02/27 16:49:40 tng
* Fix: AttributeList::getName should attach prefix if present
*
@@ -162,7 +165,7 @@
{
const XMLAttr* curElem = fVector->elementAt(index);
- if (!XMLString::compareString(curElem->getName(), name))
+ if (!XMLString::compareString(curElem->getQName(), name))
return XMLAttDef::getAttTypeString(curElem->getType());
}
return 0;
@@ -178,7 +181,7 @@
{
const XMLAttr* curElem = fVector->elementAt(index);
- if (!XMLString::compareString(curElem->getName(), name))
+ if (!XMLString::compareString(curElem->getQName(), name))
return curElem->getValue();
}
return 0;
@@ -198,7 +201,7 @@
{
const XMLAttr* curElem = fVector->elementAt(index);
- if (!XMLString::compareString(curElem->getName(), wideName))
+ if (!XMLString::compareString(curElem->getQName(), wideName))
return curElem->getValue();
}
return 0;
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org