knoaman 2003/01/06 11:40:05
Modified: c/src/xercesc/validators/datatype
ENTITYDatatypeValidator.cpp
Log:
Throw an invalid datatype value exception if fEntityDeclPool is NULL.
Revision Changes Path
1.5 +12 -1
xml-xerces/c/src/xercesc/validators/datatype/ENTITYDatatypeValidator.cpp
Index: ENTITYDatatypeValidator.cpp
===================================================================
RCS file:
/home/cvs/xml-xerces/c/src/xercesc/validators/datatype/ENTITYDatatypeValidator.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ENTITYDatatypeValidator.cpp 18 Dec 2002 14:17:55 -0000 1.4
+++ ENTITYDatatypeValidator.cpp 6 Jan 2003 19:40:05 -0000 1.5
@@ -57,6 +57,9 @@
/*
* $Id$
* $Log$
+ * Revision 1.5 2003/01/06 19:40:05 knoaman
+ * Throw an invalid datatype value exception if fEntityDeclPool is NULL.
+ *
* Revision 1.4 2002/12/18 14:17:55 gareth
* Fix to bug #13438. When you eant a vector that calls delete[] on its members you
should use RefArrayVectorOf.
*
@@ -163,6 +166,14 @@
, content);
}
+ }
+ else {
+ ThrowXML1
+ (
+ InvalidDatatypeValueException
+ , XMLExcepts::VALUE_ENTITY_Invalid
+ , content
+ );
}
return;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]