You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ko...@apache.org on 2004/06/12 03:03:52 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/impl/xs XSModelGroupImpl.java

kohsuke     2004/06/11 18:03:52

  Modified:    java/src/org/apache/xerces/impl/xs XSModelGroupImpl.java
  Log:
  fixed bug XERCESJ-980
  
  Revision  Changes    Path
  1.8       +2 -2      xml-xerces/java/src/org/apache/xerces/impl/xs/XSModelGroupImpl.java
  
  Index: XSModelGroupImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/xs/XSModelGroupImpl.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- XSModelGroupImpl.java	12 Apr 2004 20:15:35 -0000	1.7
  +++ XSModelGroupImpl.java	12 Jun 2004 01:03:52 -0000	1.8
  @@ -117,7 +117,7 @@
       private int maxEffectiveTotalRangeChoice() {
           int max = 0, one;
           if (fParticleCount > 0) {
  -            max = fParticles[0].minEffectiveTotalRange();
  +            max = fParticles[0].maxEffectiveTotalRange();
               if (max == SchemaSymbols.OCCURRENCE_UNBOUNDED)
                   return SchemaSymbols.OCCURRENCE_UNBOUNDED;
           }
  
  
  

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