aboutsummaryrefslogtreecommitdiffstats
path: root/src/sandbox/org/apache/fop
diff options
context:
space:
mode:
Diffstat (limited to 'src/sandbox/org/apache/fop')
-rw-r--r--src/sandbox/org/apache/fop/render/svg/SVGDocumentHandler.java1
-rw-r--r--src/sandbox/org/apache/fop/render/svg/SVGPrintDocumentHandler.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/sandbox/org/apache/fop/render/svg/SVGDocumentHandler.java b/src/sandbox/org/apache/fop/render/svg/SVGDocumentHandler.java
index 4012b7e97..a8ce2dd2b 100644
--- a/src/sandbox/org/apache/fop/render/svg/SVGDocumentHandler.java
+++ b/src/sandbox/org/apache/fop/render/svg/SVGDocumentHandler.java
@@ -98,6 +98,7 @@ public class SVGDocumentHandler extends AbstractSVGDocumentHandler {
/** {@inheritDoc} */
public void startDocument() throws IFException {
+ super.startDocument();
DocumentBuilderFactory builderFactory = DocumentBuilderFactory.newInstance();
builderFactory.setNamespaceAware(true);
builderFactory.setValidating(false);
diff --git a/src/sandbox/org/apache/fop/render/svg/SVGPrintDocumentHandler.java b/src/sandbox/org/apache/fop/render/svg/SVGPrintDocumentHandler.java
index 25a7f3e7d..9746fe8ec 100644
--- a/src/sandbox/org/apache/fop/render/svg/SVGPrintDocumentHandler.java
+++ b/src/sandbox/org/apache/fop/render/svg/SVGPrintDocumentHandler.java
@@ -65,6 +65,7 @@ public class SVGPrintDocumentHandler extends AbstractSVGDocumentHandler {
/** {@inheritDoc} */
public void startDocument() throws IFException {
+ super.startDocument();
try {
handler.startDocument();
handler.startPrefixMapping("", NAMESPACE);