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/08 00:24:35 UTC
cvs commit: xml-xerces/c/src/validators/DTD DTDElementDecl.cpp DTDValidator.cpp
jpolast 00/07/07 15:24:35
Modified: c/src/validators/DTD DTDElementDecl.cpp DTDValidator.cpp
Log:
use put(key,value) instead of put(value)
Revision Changes Path
1.4 +7 -2 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.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- DTDElementDecl.cpp 2000/03/02 19:55:39 1.3
+++ DTDElementDecl.cpp 2000/07/07 22:24:35 1.4
@@ -56,6 +56,9 @@
/*
* $Log: DTDElementDecl.cpp,v $
+ * Revision 1.4 2000/07/07 22:24:35 jpolast
+ * use put(key,value) instead of put(value)
+ *
* Revision 1.3 2000/03/02 19:55:39 roddey
* This checkin includes many changes done while waiting for the
* 1.1.0 code to be finished. I can't list them all here, but a list is
@@ -128,7 +131,7 @@
// And add a default attribute for this name
retVal = new DTDAttDef(qName);
retVal->setElemId(getId());
- fAttDefs->put(retVal);
+ fAttDefs->put((void*)qName, retVal);
wasAdded = true;
}
@@ -273,7 +276,7 @@
// Tell this guy the element id of its parent (us)
toAdd->setElemId(getId());
- fAttDefs->put(toAdd);
+ fAttDefs->put((void*)(toAdd->getFullName()), toAdd);
}
1.8 +4 -1 xml-xerces/c/src/validators/DTD/DTDValidator.cpp
Index: DTDValidator.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/validators/DTD/DTDValidator.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- DTDValidator.cpp 2000/03/18 00:00:05 1.7
+++ DTDValidator.cpp 2000/07/07 22:24:35 1.8
@@ -56,6 +56,9 @@
/*
* $Log: DTDValidator.cpp,v $
+ * Revision 1.8 2000/07/07 22:24:35 jpolast
+ * use put(key,value) instead of put(value)
+ *
* Revision 1.7 2000/03/18 00:00:05 roddey
* Initial updates for two way transcoding support
*
@@ -717,7 +720,7 @@
else
{
find = new XMLRefInfo(pszTmpVal);
- getScanner()->getIDRefList().put(find);
+ getScanner()->getIDRefList().put((void*)find->getRefName(), find);
}
//