]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Removed setting of namespace-prefixes feature from SAX
authorPeter Bernard West <pbwest@apache.org>
Sun, 28 Dec 2003 04:16:00 +0000 (04:16 +0000)
committerPeter Bernard West <pbwest@apache.org>
Sun, 28 Dec 2003 04:16:00 +0000 (04:16 +0000)
parser.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197063 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/apps/Driver.java

index 927854df76d7150d95e4386250c8953b1ab6037e..eddb85a4badd98df06f621dc76b907a5d502ab0d 100644 (file)
@@ -198,14 +198,9 @@ public class Driver {
      * @throws FOPException
      */
     public void setParserFeatures(XMLReader parser) throws FOPException {
-        try {
-            parser.setFeature("http://xml.org/sax/features/namespace-prefixes",
-                              true);
-        } catch (SAXException e) {
-            throw new FOPException(
-                "Error in setting up parser feature namespace-prefixes\n"
-                       + "You need a parser which supports SAX version 2", e);
-        }
+        /*
+                       Setting of namespaces-prefixes feature removed.
+        */
     }
 
     /**