From 60fd6f69787e4950d92cf237c69c04f963785de4 Mon Sep 17 00:00:00 2001 From: Maximilian Berger Date: Fri, 22 Feb 2008 14:17:20 +0000 Subject: Fixed backward compatiblity with 1.4 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@630215 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/cli/InputHandler.java | 4 ++-- 1 file 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) { -- cgit v1.2.3