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/12/01 02:16:51 UTC

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

ericye      00/11/30 17:16:51

  Modified:    java/src/org/apache/xerces/impl Tag: xerces_j_2
                        XMLValidator.java
  Log:
  clear the ID tables during the reset
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.48  +2 -3      xml-xerces/java/src/org/apache/xerces/impl/Attic/XMLValidator.java
  
  Index: XMLValidator.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/Attic/XMLValidator.java,v
  retrieving revision 1.1.2.47
  retrieving revision 1.1.2.48
  diff -u -r1.1.2.47 -r1.1.2.48
  --- XMLValidator.java	2000/11/30 00:16:21	1.1.2.47
  +++ XMLValidator.java	2000/12/01 01:16:49	1.1.2.48
  @@ -105,7 +105,7 @@
    * @author Andy Clark, IBM
    * @author Jeffrey Rodriguez IBM
    *
  - * @version $Id: XMLValidator.java,v 1.1.2.47 2000/11/30 00:16:21 jeffreyr Exp $
  + * @version $Id: XMLValidator.java,v 1.1.2.48 2000/12/01 01:16:49 ericye Exp $
    */
   public class XMLValidator
   implements XMLComponent, 
  @@ -1884,7 +1884,6 @@
                      ) {
                       validateDTDattribute(element, attrValue, fTempAttDecl);
                   }
  -                 System.out.println("name = " + fTempAttDecl.name + " Value = >>" + attrValue + "<<" );
                
   
               }
  @@ -1903,7 +1902,6 @@
                                           XMLAttributeDecl attributeDecl) throws SAXException {
           //AttributeValidator av = null;
   
  -        System.out.println("name = " + attributeDecl.name + " Value = " + attValue );
   
           switch (attributeDecl.simpleType.type) {
           
  @@ -2501,6 +2499,7 @@
           if (fTableOfIDs == null) {
               fTableOfIDs = new Hashtable();//Initialize table of IDs
           }
  +        fTableOfIDs.clear();
           fValID.initialize(fTableOfIDs);
           fValIDRef.initialize(fTableOfIDs);
           fValIDRefs.initialize(fTableOfIDs);