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 2003/01/07 16:35:01 UTC
cvs commit: xml-xerces/c/src/xercesc/validators/datatype AnySimpleTypeDatatypeValidator.hpp
knoaman 2003/01/07 07:35:00
Modified: c/src/xercesc/validators/datatype
AnySimpleTypeDatatypeValidator.hpp
Log:
Errata E1-22: anySimpleType is not an atomic type.
Revision Changes Path
1.5 +11 -1 xml-xerces/c/src/xercesc/validators/datatype/AnySimpleTypeDatatypeValidator.hpp
Index: AnySimpleTypeDatatypeValidator.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/datatype/AnySimpleTypeDatatypeValidator.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- AnySimpleTypeDatatypeValidator.hpp 18 Dec 2002 14:17:55 -0000 1.4
+++ AnySimpleTypeDatatypeValidator.hpp 7 Jan 2003 15:35:00 -0000 1.5
@@ -102,6 +102,11 @@
*/
short getWSFacet () const;
+ /**
+ * Returns whether the type is atomic or not
+ */
+ virtual bool isAtomic() const;
+
//@}
// -----------------------------------------------------------------------
@@ -165,6 +170,11 @@
inline short AnySimpleTypeDatatypeValidator::getWSFacet() const {
return DatatypeValidator::PRESERVE;
+}
+
+inline bool AnySimpleTypeDatatypeValidator::isAtomic() const {
+
+ return false;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org