You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by jb...@apache.org on 2001/06/04 23:07:35 UTC

cvs commit: xml-xerces/c/src/framework XMLValidator.cpp

jberry      01/06/04 14:07:35

  Modified:    c/src/framework XMLValidator.cpp
  Log:
  Increment scanner error count from schema validator, not just in scanner itself.
  
  Revision  Changes    Path
  1.10      +15 -0     xml-xerces/c/src/framework/XMLValidator.cpp
  
  Index: XMLValidator.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/framework/XMLValidator.cpp,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- XMLValidator.cpp	2001/05/11 13:25:33	1.9
  +++ XMLValidator.cpp	2001/06/04 21:07:34	1.10
  @@ -56,6 +56,9 @@
   
   /**
     * $Log: XMLValidator.cpp,v $
  +  * Revision 1.10  2001/06/04 21:07:34  jberry
  +  * Increment scanner error count from schema validator, not just in scanner itself.
  +  *
     * Revision 1.9  2001/05/11 13:25:33  tng
     * Copyright update.
     *
  @@ -163,6 +166,10 @@
   //
   void XMLValidator::emitError(const XMLValid::Codes toEmit)
   {
  +    //	Track our error count
  +    fScanner->incrementErrorCount();
  +    
  +    //	Call error reporter if we have one
       if (fErrorReporter)
       {
           // Load the message into a local for display
  @@ -216,6 +223,10 @@
                               , const XMLCh* const    text3
                               , const XMLCh* const    text4)
   {
  +    //	Track our error count
  +    fScanner->incrementErrorCount();
  +    
  +    //	Call error reporter if we have one
       if (fErrorReporter)
       {
           //
  @@ -272,6 +283,10 @@
                               , const char* const     text3
                               , const char* const     text4)
   {
  +    //	Track our error count
  +    fScanner->incrementErrorCount();
  +    
  +    //	Call error reporter if we have one
       if (fErrorReporter)
       {
           //
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org