cargilld 2004/09/23 04:25:19
Modified: c/src/xercesc/validators/schema TraverseSchema.cpp
Log:
Fix build error on HP.
Revision Changes Path
1.117 +4 -4 xml-xerces/c/src/xercesc/validators/schema/TraverseSchema.cpp
Index: TraverseSchema.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/schema/TraverseSchema.cpp,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -r1.116 -r1.117
--- TraverseSchema.cpp 23 Sep 2004 01:09:56 -0000 1.116
+++ TraverseSchema.cpp 23 Sep 2004 11:25:17 -0000 1.117
@@ -8763,8 +8763,8 @@
// next is the namespaces on the elem
DOMNamedNodeMap* eltAttrs = elem->getAttributes();
int attrCount = eltAttrs->getLength();
-
- for (int j = 0; j < attrCount; j++)
+ int j;
+ for (j = 0; j < attrCount; j++)
{
DOMNode* attribute = eltAttrs->item(j);
const XMLCh* attName = attribute->getNodeName();
@@ -8799,7 +8799,7 @@
eltAttrs = fSchemaInfo->getRoot()->getAttributes();
attrCount = eltAttrs->getLength();
- for (int j = 0; j < attrCount; j++)
+ for (j = 0; j < attrCount; j++)
{
DOMNode* attribute = eltAttrs->item(j);
if (!attribute) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]