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/18 22:42:48 UTC

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

ericye      00/10/18 13:42:48

  Modified:    java/src/org/apache/xerces/impl Tag: xerces_j_2
                        XMLValidator.java
  Log:
  ffix a bug in endEntity()
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.9   +4 -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.8
  retrieving revision 1.1.2.9
  diff -u -r1.1.2.8 -r1.1.2.9
  --- XMLValidator.java	2000/10/12 01:42:09	1.1.2.8
  +++ XMLValidator.java	2000/10/18 20:42:47	1.1.2.9
  @@ -82,7 +82,7 @@
    * @author Stubs generated by DesignDoc on Mon Sep 11 11:10:57 PDT 2000
    * @author Andy Clark, IBM
    *
  - * @version $Id: XMLValidator.java,v 1.1.2.8 2000/10/12 01:42:09 andyc Exp $
  + * @version $Id: XMLValidator.java,v 1.1.2.9 2000/10/18 20:42:47 ericye Exp $
    */
   public class XMLValidator
       implements XMLComponent, 
  @@ -153,7 +153,7 @@
       // XMLComponent methods
       //
   
  -    /**
  +    /*
        * Resets the component. The component can query the component manager
        * about any features and properties that affect the operation of the
        * component.
  @@ -403,6 +403,7 @@
        */
       public void endElement(QName element) throws SAXException {
   
  +
           // call handlers
           if (fDocumentHandler != null) {
               fDocumentHandler.endElement(element);
  @@ -644,7 +645,7 @@
           if (fInDTD) {
               fDTDGrammar.endEntity(name);
               if (fDTDHandler != null) {
  -                fDocumentHandler.endEntity(name);
  +                fDTDHandler.endEntity(name);
               }
           }
           else {