aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Berger <maxberger@apache.org>2008-02-22 14:17:20 +0000
committerMaximilian Berger <maxberger@apache.org>2008-02-22 14:17:20 +0000
commit60fd6f69787e4950d92cf237c69c04f963785de4 (patch)
treecd9de52cc258a9f1ad36d5e3be3f3bccae62af8a
parentaaef3aaef54068e37711a2ef05cf5be6b99eccdb (diff)
downloadxmlgraphics-fop-60fd6f69787e4950d92cf237c69c04f963785de4.tar.gz
xmlgraphics-fop-60fd6f69787e4950d92cf237c69c04f963785de4.zip
Fixed backward compatiblity with 1.4
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@630215 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/java/org/apache/fop/cli/InputHandler.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/cli/InputHandler.java b/src/java/org/apache/fop/cli/InputHandler.java
index a49c978f6..68af6ae51 100644
--- a/src/java/org/apache/fop/cli/InputHandler.java
+++ b/src/java/org/apache/fop/cli/InputHandler.java
@@ -151,8 +151,8 @@ public class InputHandler implements ErrorListener, Renderable {
InputSource is = new InputSource(new FileInputStream(
this.sourcefile));
SAXParserFactory spf = SAXParserFactory.newInstance();
- spf.setNamespaceAware(true);
- spf.setXIncludeAware(true);
+ spf.setFeature("http://xml.org/sax/features/namespaces", true);
+ spf.setFeature("http://apache.org/xml/features/xinclude", true);
XMLReader xr = spf.newSAXParser().getXMLReader();
result = new SAXSource(xr, is);
} catch (SAXException e) {