tng 2002/09/26 14:08:14
Modified: c/src/xercesc/validators/schema GeneralAttributeCheck.cpp
Log:
[Bug12849] comparison is always false warning. Patch from Gareth Reakes
Revision Changes Path
1.7 +5 -1
xml-xerces/c/src/xercesc/validators/schema/GeneralAttributeCheck.cpp
Index: GeneralAttributeCheck.cpp
===================================================================
RCS file:
/home/cvs/xml-xerces/c/src/xercesc/validators/schema/GeneralAttributeCheck.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- GeneralAttributeCheck.cpp 24 Sep 2002 20:18:14 -0000 1.6
+++ GeneralAttributeCheck.cpp 26 Sep 2002 21:08:14 -0000 1.7
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.7 2002/09/26 21:08:14 tng
+ * [Bug12849] comparison is always false warning. Patch from Gareth Reakes
+ *
* Revision 1.6 2002/09/24 20:18:14 tng
* Performance: use XMLString::equals instead of XMLString::compareString
* and check for null string directly isntead of calling XMLString::stringLen
@@ -322,7 +325,7 @@
TraverseSchema* const schema,
const bool isTopLevel) {
- if (elem == 0 || !fAttMap || elemContext<0 || elemContext>=E_Count) {
+ if (elem == 0 || !fAttMap || elemContext>=E_Count) {
return;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]