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/06 20:40:05 UTC

cvs commit: xml-xerces/c/src/xercesc/validators/datatype ENTITYDatatypeValidator.cpp

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: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org