You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by er...@locus.apache.org on 2000/10/12 20:42:14 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/framework XMLContentSpec.java

ericye      00/10/12 11:42:12

  Modified:    java/src/org/apache/xerces/framework XMLContentSpec.java
  Log:
  fix a bug in toString()
  
  Revision  Changes    Path
  1.11      +1 -7      xml-xerces/java/src/org/apache/xerces/framework/XMLContentSpec.java
  
  Index: XMLContentSpec.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/framework/XMLContentSpec.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- XMLContentSpec.java	2000/08/18 21:36:30	1.10
  +++ XMLContentSpec.java	2000/10/12 18:42:10	1.11
  @@ -109,7 +109,7 @@
    * string pool index, as the "#PCDATA" leaf is not used in the declarations
    * for element content models.
    *
  - * @version $Id: XMLContentSpec.java,v 1.10 2000/08/18 21:36:30 ericye Exp $
  + * @version $Id: XMLContentSpec.java,v 1.11 2000/10/12 18:42:10 ericye Exp $
    */
   public class XMLContentSpec {
   
  @@ -299,12 +299,6 @@
                       str.append('(');
                       if (contentSpec.value == -1 && contentSpec.otherValue == -1) {
                           str.append("#PCDATA");
  -                    }
  -                    else if (contentSpec.otherValue != -1) {
  -                        str.append("##any:uri="+stringPool.toString(contentSpec.otherValue));
  -                    }
  -                    else if (contentSpec.value == -1) {
  -                        str.append("##any");
                       }
                       else {
                           str.append(stringPool.toString(contentSpec.value));