You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ne...@apache.org on 2003/11/17 19:38:51 UTC
cvs commit: xml-xerces/c/src/xercesc/framework/psvi XSModel.cpp
neilg 2003/11/17 10:38:51
Modified: c/src/xercesc/framework/psvi XSModel.cpp
Log:
work around HP compiler bug
Revision Changes Path
1.6 +7 -4 xml-xerces/c/src/xercesc/framework/psvi/XSModel.cpp
Index: XSModel.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/psvi/XSModel.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- XSModel.cpp 14 Nov 2003 22:47:53 -0000 1.5
+++ XSModel.cpp 17 Nov 2003 18:38:51 -0000 1.6
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.6 2003/11/17 18:38:51 neilg
+ * work around HP compiler bug
+ *
* Revision 1.5 2003/11/14 22:47:53 neilg
* fix bogus log message from previous commit...
*
@@ -176,9 +179,9 @@
// Now loop through all of the NamespaceItem's
unsigned int numberOfNamespaces = fXSNamespaceItemList->size();
- for (unsigned int i=0; i<numberOfNamespaces; i++)
+ for (unsigned int j=0; j<numberOfNamespaces; j++)
{
- XSNamespaceItem* namespaceItem = fXSNamespaceItemList->elementAt(i);
+ XSNamespaceItem* namespaceItem = fXSNamespaceItemList->elementAt(j);
// First loop through top-level BUILTIN simple type definitions in the grammar...
// all grammar's would be the same...
@@ -188,7 +191,7 @@
{
DatatypeValidator& curSimple = simpleEnum.nextElement();
XSSimpleTypeDefinition* xsSimple;
- if (i == 0)
+ if (j == 0)
{
xsSimple = new (fMemoryManager) XSSimpleTypeDefinition(&curSimple, this, fMemoryManager);
fXercesToXSMap->put((void *)&curSimple, xsSimple);
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org