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/08/27 14:19:00 UTC

cvs commit: xml-xerces/c/src/validators/common AllContentModel.cpp

tng         01/08/27 05:19:00

  Modified:    c/src/validators/common AllContentModel.cpp
  Log:
  Schema: AllContentModel UPA Check typo fix
  
  Revision  Changes    Path
  1.2       +5 -2      xml-xerces/c/src/validators/common/AllContentModel.cpp
  
  Index: AllContentModel.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/validators/common/AllContentModel.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AllContentModel.cpp	2001/08/24 12:48:48	1.1
  +++ AllContentModel.cpp	2001/08/27 12:19:00	1.2
  @@ -56,6 +56,9 @@
   
   /*
    * $Log: AllContentModel.cpp,v $
  + * Revision 1.2  2001/08/27 12:19:00  tng
  + * Schema: AllContentModel UPA Check typo fix
  + *
    * Revision 1.1  2001/08/24 12:48:48  tng
    * Schema: AllContentModel
    *
  @@ -303,7 +306,7 @@
   
       // check whether there is conflict between any two leaves
       for (i = 0; i < fCount; i++) {
  -        for (j = 0; j < fCount; j++) {
  +        for (j = i+1; j < fCount; j++) {
               // If this is text in a Schema mixed content model, skip it.
               if ( fIsMixed &&
                    (( fChildren[i]->getURI() == XMLElementDecl::fgPCDataElemId) ||
  
  
  

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