You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by jp...@locus.apache.org on 2000/07/14 20:15:10 UTC
cvs commit: xml-xerces/c/src/validators/DTD DTDElementDecl.cpp
jpolast 00/07/14 11:15:09
Modified: c/src/validators/DTD DTDElementDecl.cpp
Log:
fix for put() with attributes bug in findAttr()
Revision Changes Path
1.5 +4 -1 xml-xerces/c/src/validators/DTD/DTDElementDecl.cpp
Index: DTDElementDecl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/validators/DTD/DTDElementDecl.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- DTDElementDecl.cpp 2000/07/07 22:24:35 1.4
+++ DTDElementDecl.cpp 2000/07/14 18:15:08 1.5
@@ -56,6 +56,9 @@
/*
* $Log: DTDElementDecl.cpp,v $
+ * Revision 1.5 2000/07/14 18:15:08 jpolast
+ * fix for put() with attributes bug in findAttr()
+ *
* Revision 1.4 2000/07/07 22:24:35 jpolast
* use put(key,value) instead of put(value)
*
@@ -131,7 +134,7 @@
// And add a default attribute for this name
retVal = new DTDAttDef(qName);
retVal->setElemId(getId());
- fAttDefs->put((void*)qName, retVal);
+ fAttDefs->put((void*)retVal->getFullName(), retVal);
wasAdded = true;
}