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 2002/09/16 22:37:21 UTC

cvs commit: xml-xerces/c/src/xercesc/validators/DTD DTDValidator.cpp

tng         2002/09/16 13:37:21

  Modified:    c/src/xercesc/validators/DTD DTDValidator.cpp
  Log:
  Infinite loop for malformed xml (e.g. simple has "XXXX") w/ setexitonfirstfatal(false).
  
  Revision  Changes    Path
  1.4       +2 -2      xml-xerces/c/src/xercesc/validators/DTD/DTDValidator.cpp
  
  Index: DTDValidator.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/DTD/DTDValidator.cpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DTDValidator.cpp	4 Sep 2002 18:17:49 -0000	1.3
  +++ DTDValidator.cpp	16 Sep 2002 20:37:21 -0000	1.4
  @@ -526,7 +526,7 @@
   
                   seenId = true;
               }
  -             else if (curAttDef.getType() == XMLAttDef::Notation)
  +             else if (curAttDef.getType() == XMLAttDef::Notation && curAttDef.getEnumeration())
               {
                   //
                   //  We need to verify that all of its possible values
  
  
  

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