cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ro...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/components/parser XercesParser.java
Date Mon, 06 Nov 2000 20:21:37 GMT
rossb       00/11/06 12:21:34

  Modified:    src/org/apache/cocoon/components/parser Tag: xml-cocoon2
                        XercesParser.java
  Log:
  Fixed a problem setting the lexical handler, reported by Carsten Ziegeler.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.8   +3 -3      xml-cocoon/src/org/apache/cocoon/components/parser/Attic/XercesParser.java
  
  Index: XercesParser.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/components/parser/Attic/XercesParser.java,v
  retrieving revision 1.1.2.7
  retrieving revision 1.1.2.8
  diff -u -r1.1.2.7 -r1.1.2.8
  --- XercesParser.java	2000/11/01 15:52:37	1.1.2.7
  +++ XercesParser.java	2000/11/06 20:21:29	1.1.2.8
  @@ -24,7 +24,7 @@
    *
    * @author <a href="mailto:fumagalli@exoffice.com">Pierpaolo Fumagalli</a>
    *         (Apache Software Foundation, Exoffice Technologies)
  - * @version CVS $Revision: 1.1.2.7 $ $Date: 2000/11/01 15:52:37 $
  + * @version CVS $Revision: 1.1.2.8 $ $Date: 2000/11/06 20:21:29 $
    */
   public class XercesParser extends AbstractXMLProducer
   implements Parser, ErrorHandler, DOMFactory {
  @@ -37,12 +37,12 @@
   
   	this.parser.setFeature("http://xml.org/sax/features/validation",false);
   	this.parser.setFeature("http://xml.org/sax/features/namespaces",true);
  -	this.parser.setProperty("http://xml.org/sax/properties/lexical-handler",
  -	              super.lexicalHandler);
       }
       
       public void parse(InputSource in)
       throws SAXException, IOException {
  +      this.parser.setProperty("http://xml.org/sax/properties/lexical-handler",
  +                              super.lexicalHandler);
           this.parser.setErrorHandler(this);
           this.parser.setContentHandler(super.contentHandler);
           this.parser.parse(in);
  
  
  

Mime
View raw message