You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by el...@apache.org on 2001/10/16 18:26:23 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/impl/validation Grammar.java

elena       01/10/16 09:26:22

  Modified:    java/src/org/apache/xerces/impl/validation Grammar.java
  Log:
  value of entity was never set
  
  Revision  Changes    Path
  1.4       +3 -2      xml-xerces/java/src/org/apache/xerces/impl/validation/Grammar.java
  
  Index: Grammar.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/validation/Grammar.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Grammar.java	2001/10/16 15:11:38	1.3
  +++ Grammar.java	2001/10/16 16:26:22	1.4
  @@ -95,7 +95,7 @@
    * @author Eric Ye, IBM
    * @author Andy Clark, IBM
    *
  - * @version $Id: Grammar.java,v 1.3 2001/10/16 15:11:38 elena Exp $
  + * @version $Id: Grammar.java,v 1.4 2001/10/16 16:26:22 elena Exp $
    */
   public abstract class Grammar implements EntityState {
   
  @@ -540,6 +540,7 @@
                                fEntitySystemId[chunk][index],
                                fEntityBaseSystemId[chunk][index],
                                fEntityNotation[chunk][index],
  +                             fEntityValue[chunk][index],
                                fEntityIsPE[chunk][index] == 0 ? false : true ,
                                fEntityInExternal[chunk][index] == 0 ? false : true );
   
  @@ -1073,7 +1074,7 @@
          int index = entityDeclIndex & CHUNK_MASK;
   
          fEntityName[chunk][index] = entityDecl.name;
  -       fEntityValue[chunk][index] = null;
  +       fEntityValue[chunk][index] = entityDecl.value;
          fEntityPublicId[chunk][index] = entityDecl.publicId;
          fEntitySystemId[chunk][index] = entityDecl.systemId;
          fEntityBaseSystemId[chunk][index] = entityDecl.baseSystemId;
  
  
  

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