You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by pb...@apache.org on 2004/01/05 03:24:05 UTC

cvs commit: xml-fop/src/java/org/apache/fop/apps Driver.java

pbwest      2004/01/04 18:24:05

  Modified:    src/java/org/apache/fop/apps Tag: FOP_0-20-0_Alt-Design
                        Driver.java
  Log:
  Removed unused setParserFeatures.
  Removed redundant throws exception clause.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.9.2.4   +5 -5      xml-fop/src/java/org/apache/fop/apps/Driver.java
  
  Index: Driver.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/apps/Driver.java,v
  retrieving revision 1.9.2.3
  retrieving revision 1.9.2.4
  diff -u -r1.9.2.3 -r1.9.2.4
  --- Driver.java	28 Dec 2003 04:16:00 -0000	1.9.2.3
  +++ Driver.java	5 Jan 2004 02:24:04 -0000	1.9.2.4
  @@ -95,7 +95,7 @@
       /**
        * Error handling, version and logging initialization.
        */
  -    public Driver() throws FOPException {
  +    public Driver() {
           _errorDump =
                   Configuration.getBooleanValue("debugMode").booleanValue();
           String version = Version.getVersion();
  @@ -135,7 +135,8 @@
           setInputHandler(Options.getInputHandler());
           parser = inputHandler.getParser();
           source = inputHandler.getInputSource();
  -        setParserFeatures(parser);
  +        // Setting of namespace-prefixes feature no longer required
  +        //setParserFeatures(parser);
   
           xmlevents = new SyncedFoXmlEventsBuffer();
           xmlhandler = new FoXMLSerialHandler(xmlevents, parser, source);
  @@ -197,11 +198,10 @@
        * @param parser the XMLReader used to parse the input
        * @throws FOPException
        */
  +    /*
       public void setParserFeatures(XMLReader parser) throws FOPException {
  -        /*
  -			Setting of namespaces-prefixes feature removed.
  -        */
       }
  +    */
   
       /**
        * Prints stack trace of an exception
  
  
  

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