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/05/16 16:33:43 UTC

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

tng         01/05/16 07:33:43

  Modified:    c/src/validators/datatype StringDatatypeValidator.cpp
  Log:
  Schema Constraint checking fix.
  
  Revision  Changes    Path
  1.4       +5 -2      xml-xerces/c/src/validators/datatype/StringDatatypeValidator.cpp
  
  Index: StringDatatypeValidator.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/validators/datatype/StringDatatypeValidator.cpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- StringDatatypeValidator.cpp	2001/05/11 17:17:28	1.3
  +++ StringDatatypeValidator.cpp	2001/05/16 14:33:40	1.4
  @@ -56,6 +56,9 @@
   
   /*
    * $Log: StringDatatypeValidator.cpp,v $
  + * Revision 1.4  2001/05/16 14:33:40  tng
  + * Schema Constraint checking fix.
  + *
    * Revision 1.3  2001/05/11 17:17:28  tng
    * Schema: DatatypeValidator fixes.  By Pei Yong Zhang.
    *
  @@ -401,8 +404,8 @@
                        (getWSFacet() == DatatypeValidator::REPLACE)))
                        ThrowXML(InvalidDatatypeFacetException, XMLExcepts::FACET_WS_collapse);
   
  -                if ((pBaseValidator->getWSFacet() == DatatypeValidator::PRESERVE) &&
  -                    (getWSFacet() == DatatypeValidator::REPLACE))
  +                if ((pBaseValidator->getWSFacet() == DatatypeValidator::REPLACE) &&
  +                    (getWSFacet() == DatatypeValidator::PRESERVE))
                        ThrowXML(InvalidDatatypeFacetException, XMLExcepts::FACET_WS_replace);
               }
   
  
  
  

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