aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2004-03-16 22:17:09 +0000
committerGlen Mazza <gmazza@apache.org>2004-03-16 22:17:09 +0000
commitb92398358ae3122c3ca5fb5a60e346934402f017 (patch)
treeb79fd247d49db351de2c1b03caebbf92788dfc48 /src/java/org/apache/fop
parent6defe06fc7bc46bf8ab9d5d6336991e842a05b0b (diff)
downloadxmlgraphics-fop-b92398358ae3122c3ca5fb5a60e346934402f017.tar.gz
xmlgraphics-fop-b92398358ae3122c3ca5fb5a60e346934402f017.zip
Removed obsolete request for namespace-prefixes (supported by all SAX2
parsers by definition, questionable whether needed by FOP anyway.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197456 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r--src/java/org/apache/fop/apps/FOFileHandler.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/java/org/apache/fop/apps/FOFileHandler.java b/src/java/org/apache/fop/apps/FOFileHandler.java
index acefd0cda..d2a500b80 100644
--- a/src/java/org/apache/fop/apps/FOFileHandler.java
+++ b/src/java/org/apache/fop/apps/FOFileHandler.java
@@ -88,13 +88,7 @@ public class FOFileHandler extends InputHandler {
try {
SAXParserFactory factory = SAXParserFactory.newInstance();
factory.setNamespaceAware(true);
- factory.setFeature(
- "http://xml.org/sax/features/namespace-prefixes", true);
return factory.newSAXParser().getXMLReader();
- } catch (SAXNotSupportedException se) {
- 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", se);
} catch (SAXException se) {
throw new FOPException("Couldn't create XMLReader", se);
} catch (ParserConfigurationException pce) {