You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by pe...@apache.org on 2003/11/07 23:39:41 UTC
cvs commit: xml-xerces/c/src/xercesc/validators/datatype DatatypeValidator.cpp
peiyongz 2003/11/07 14:39:41
Modified: c/src/xercesc/validators/datatype DatatypeValidator.cpp
Log:
PSVI/schema component model implementation, thanks to David Cargill
Revision Changes Path
1.16 +14 -0 xml-xerces/c/src/xercesc/validators/datatype/DatatypeValidator.cpp
Index: DatatypeValidator.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/datatype/DatatypeValidator.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- DatatypeValidator.cpp 6 Nov 2003 15:30:07 -0000 1.15
+++ DatatypeValidator.cpp 7 Nov 2003 22:39:41 -0000 1.16
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.16 2003/11/07 22:39:41 peiyongz
+ * PSVI/schema component model implementation, thanks to David Cargill
+ *
* Revision 1.15 2003/11/06 15:30:07 neilg
* first part of PSVI/schema component model implementation, thanks to David Cargill. This covers setting the PSVIHandler on parser objects, as well as implementing XSNotation, XSSimpleTypeDefinition, XSIDCDefinition, and most of XSWildcard, XSComplexTypeDefinition, XSElementDeclaration, XSAttributeDeclaration and XSAttributeUse.
*
@@ -321,6 +324,11 @@
serEng<<fFixed;
serEng<<(int)fType;
+ serEng<<(int)fOrdered;
+ serEng<<fFinite;
+ serEng<<fBounded;
+ serEng<<fNumeric;
+
/***
* don't serialize the fBaseValidator if it is a built-in
***/
@@ -362,6 +370,12 @@
int type;
serEng>>type;
fType=(ValidatorType)type;
+
+ serEng>>type;
+ fOrdered = (XSSimpleTypeDefinition::ORDERING)type;
+ serEng>>fFinite;
+ serEng>>fBounded;
+ serEng>>fNumeric;
/***
*
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org