]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
sets Xerces-J as default sax parser
authorfotis <fotis@unknown>
Fri, 3 Dec 1999 12:27:12 +0000 (12:27 +0000)
committerfotis <fotis@unknown>
Fri, 3 Dec 1999 12:27:12 +0000 (12:27 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193267 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/apps/AWTCommandLine.java
src/org/apache/fop/apps/CommandLine.java

index ee1e1c25aa7aff55e3c6e8ef261e38c00211c694..b99a0e35a4d3f24a46ec8b25ae519206cfa31cc0 100644 (file)
@@ -57,12 +57,18 @@ public class AWTCommandLine {
     frame.setVisible(true);
   }
 
+ /**
+     * creates a SAX parser, using the value of org.xml.sax.parser
+     * defaulting to org.apache.xerces.parsers.SAXParser
+     *
+     * @return the created SAX parser
+     */
 
     static Parser createParser() {
        String parserClassName =
            System.getProperty("org.xml.sax.parser");
        if (parserClassName == null) {
-           parserClassName = "com.jclark.xml.sax.Driver";
+           parserClassName = "org.apache.xerces.parsers.SAXParser";
        }
        System.err.println("using SAX parser " + parserClassName);
 
index 67101ccb3597458f3a3a26a42e1c13bba6682c57..b6622bd7bf6af591ff3523e981cf83a3eabefaf9 100644 (file)
@@ -76,7 +76,7 @@ public class CommandLine {
 
     /**
      * creates a SAX parser, using the value of org.xml.sax.parser
-     * defaulting to com.jclark.xml.sax.Driver 
+     * defaulting to org.apache.xerces.parsers.SAXParser
      *
      * @return the created SAX parser
      */
@@ -84,7 +84,7 @@ public class CommandLine {
        String parserClassName =
            System.getProperty("org.xml.sax.parser");
        if (parserClassName == null) {
-           parserClassName = "com.jclark.xml.sax.Driver";
+           parserClassName = "org.apache.xerces.parsers.SAXParser";
        }
        System.err.println("using SAX parser " + parserClassName);