You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by kn...@apache.org on 2001/11/19 18:37:56 UTC
cvs commit: xml-xerces/c/src/validators/schema GeneralAttributeCheck.hpp GeneralAttributeCheck.cpp
knoaman 01/11/19 09:37:56
Modified: c/src/validators/schema GeneralAttributeCheck.hpp
GeneralAttributeCheck.cpp
Log:
Use the instance of ID datatye validator directly.
Revision Changes Path
1.8 +3 -3 xml-xerces/c/src/validators/schema/GeneralAttributeCheck.hpp
Index: GeneralAttributeCheck.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/validators/schema/GeneralAttributeCheck.hpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- GeneralAttributeCheck.hpp 2001/11/16 15:03:37 1.7
+++ GeneralAttributeCheck.hpp 2001/11/19 17:37:55 1.8
@@ -55,7 +55,7 @@
*/
/*
- * $Id: GeneralAttributeCheck.hpp,v 1.7 2001/11/16 15:03:37 knoaman Exp $
+ * $Id: GeneralAttributeCheck.hpp,v 1.8 2001/11/19 17:37:55 knoaman Exp $
*/
#if !defined(GENERALATTRIBUTECHECK_HPP)
@@ -239,7 +239,8 @@
DT_ProcessContents = -11,
DT_Public = -12,
DT_Use = -13,
- DT_WhiteSpace = -14
+ DT_WhiteSpace = -14,
+ DT_ID = -15
};
// datatype validators
@@ -247,7 +248,6 @@
DT_String,
DT_Token,
DT_AnyURI,
- DT_ID,
DT_NonNegInt,
DT_QName,
DT_Boolean,
1.13 +4 -3 xml-xerces/c/src/validators/schema/GeneralAttributeCheck.cpp
Index: GeneralAttributeCheck.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/validators/schema/GeneralAttributeCheck.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- GeneralAttributeCheck.cpp 2001/11/16 15:03:37 1.12
+++ GeneralAttributeCheck.cpp 2001/11/19 17:37:55 1.13
@@ -56,6 +56,9 @@
/*
* $Log: GeneralAttributeCheck.cpp,v $
+ * Revision 1.13 2001/11/19 17:37:55 knoaman
+ * Use the instance of ID datatye validator directly.
+ *
* Revision 1.12 2001/11/16 15:03:37 knoaman
* Design change: GeneralAttributeCheck is not longer a singleton class.
*
@@ -412,8 +415,6 @@
fValidators[DT_AnyURI] =
dvFactory.getDatatypeValidator(SchemaSymbols::fgDT_ANYURI);
- fValidators[DT_ID] = &fIDValidator;
-
// TO DO - add remaining valdiators
}
@@ -1029,7 +1030,7 @@
dv = fValidators[DT_AnyURI];
break;
case DT_ID:
- dv = fValidators[DT_ID];
+ dv = &fIDValidator;
if (!fIDRefList) {
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org