You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2001/11/13 14:25:08 UTC
cvs commit: xml-xerces/c/src/validators/schema SchemaValidator.cpp SchemaValidator.hpp
tng 01/11/13 05:25:08
Modified: c/src/validators/schema SchemaValidator.cpp
SchemaValidator.hpp
Log:
Deprecate function XMLValidator::checkRootElement.
Revision Changes Path
1.23 +3 -7 xml-xerces/c/src/validators/schema/SchemaValidator.cpp
Index: SchemaValidator.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/validators/schema/SchemaValidator.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- SchemaValidator.cpp 2001/11/09 18:10:58 1.22
+++ SchemaValidator.cpp 2001/11/13 13:25:08 1.23
@@ -56,6 +56,9 @@
/*
* $Log: SchemaValidator.cpp,v $
+ * Revision 1.23 2001/11/13 13:25:08 tng
+ * Deprecate function XMLValidator::checkRootElement.
+ *
* Revision 1.22 2001/11/09 18:10:58 tng
* Schema Fix: should concatenate all characters for validation.
*
@@ -306,13 +309,6 @@
// Went ok, so return success
return -1;
-}
-
-bool SchemaValidator::checkRootElement (const unsigned int elemId)
-{
- // we have nothing to check for root in schema
- // always return true
- return true;
}
void SchemaValidator::faultInAttr (XMLAttr& toFill, const XMLAttDef& attDef) const
1.8 +3 -5 xml-xerces/c/src/validators/schema/SchemaValidator.hpp
Index: SchemaValidator.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/validators/schema/SchemaValidator.hpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- SchemaValidator.hpp 2001/06/05 16:51:21 1.7
+++ SchemaValidator.hpp 2001/11/13 13:25:08 1.8
@@ -56,6 +56,9 @@
/*
* $Log: SchemaValidator.hpp,v $
+ * Revision 1.8 2001/11/13 13:25:08 tng
+ * Deprecate function XMLValidator::checkRootElement.
+ *
* Revision 1.7 2001/06/05 16:51:21 knoaman
* Add 'const' to getGrammar - submitted by Peter A. Volchek.
*
@@ -126,11 +129,6 @@
XMLElementDecl* const elemDecl
, QName** const children
, const unsigned int childCount
- );
-
- virtual bool checkRootElement
- (
- const unsigned int elemId
);
virtual void faultInAttr
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org