]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
clarified error message
authorKeiron Liddle <keiron@apache.org>
Mon, 12 Nov 2001 07:35:17 +0000 (07:35 +0000)
committerKeiron Liddle <keiron@apache.org>
Mon, 12 Nov 2001 07:35:17 +0000 (07:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194564 13f79535-47bb-0310-9956-ffa450edef68

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

index 90d63c59b51f7a34859578b66972ccba9a72651c..3f9997e6394daff7204e3610f86fbfda16ed289a 100644 (file)
@@ -48,8 +48,9 @@ public abstract class Starter {
             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);
+            throw new FOPException("Error: You need a parser which allows the"
+                   + " http://xml.org/sax/features/namespace-prefixes"
+                   + " feature to be set to true to support namespaces", e);
         }
     }