aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/servlet/FopServlet.java
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2004-07-19 22:46:14 +0000
committerGlen Mazza <gmazza@apache.org>2004-07-19 22:46:14 +0000
commitb1c93550a81a4fe1efdb21767913b52b2bf41d79 (patch)
tree22dd8de3a810a898e14b2ca93d824042271f67df /src/java/org/apache/fop/servlet/FopServlet.java
parentaf81f828c5b7a480bf9d0674bbfefb9a60524ac5 (diff)
downloadxmlgraphics-fop-b1c93550a81a4fe1efdb21767913b52b2bf41d79.tar.gz
xmlgraphics-fop-b1c93550a81a4fe1efdb21767913b52b2bf41d79.zip
1.) Moved exclusively to Simon's DefaultHandler object for both Transformer
and SAXParser usage. DefaultHandler implements the ContentHandler interface so it can be used where the latter was previously used, also it provides more functionality. [1] 2.) Updated the examples and internal code accordingly. 3.) Renamed ExampleFO2PDFUsingSAX to ...Parser to avoid confusion (both use SAX.) [1] http://www.cafeconleche.org/books/xmljava/chapters/ch06s03.html#d0e8440 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197802 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/servlet/FopServlet.java')
-rw-r--r--src/java/org/apache/fop/servlet/FopServlet.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/servlet/FopServlet.java b/src/java/org/apache/fop/servlet/FopServlet.java
index a4da5b21f..6a626786d 100644
--- a/src/java/org/apache/fop/servlet/FopServlet.java
+++ b/src/java/org/apache/fop/servlet/FopServlet.java
@@ -208,7 +208,7 @@ public class FopServlet extends HttpServlet {
driver.setOutputStream(out);
//Make sure the XSL transformation's result is piped through to FOP
- Result res = new SAXResult(driver.getContentHandler());
+ Result res = new SAXResult(driver.getDefaultHandler());
//Start the transformation and rendering process
transformer.transform(src, res);