aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2006-02-02 09:01:29 +0000
committerJeremias Maerki <jeremias@apache.org>2006-02-02 09:01:29 +0000
commit91d8c38fa99ca844c6c6eb4bfd131b8006884b4c (patch)
tree37c4ff3aa0bceebc335ec1dfeff510bfaf03b124 /src/java/org/apache/fop/render
parentb7315c99ca633084ae96436cd19773f06218da23 (diff)
downloadxmlgraphics-fop-91d8c38fa99ca844c6c6eb4bfd131b8006884b4c.tar.gz
xmlgraphics-fop-91d8c38fa99ca844c6c6eb4bfd131b8006884b4c.zip
Don't swallow characters if the handler does not implement LexicalHandler.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374312 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render')
-rw-r--r--src/java/org/apache/fop/render/xml/XMLXMLHandler.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/xml/XMLXMLHandler.java b/src/java/org/apache/fop/render/xml/XMLXMLHandler.java
index ff87cf057..eb1f4946b 100644
--- a/src/java/org/apache/fop/render/xml/XMLXMLHandler.java
+++ b/src/java/org/apache/fop/render/xml/XMLXMLHandler.java
@@ -1,5 +1,5 @@
/*
- * Copyright 1999-2005 The Apache Software Foundation.
+ * Copyright 1999-2006 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -111,6 +111,8 @@ public class XMLXMLHandler implements XMLHandler {
lh.startCDATA();
handler.characters(ca, 0, ca.length);
lh.endCDATA();
+ } else {
+ handler.characters(ca, 0, ca.length);
}
break;
case Node.ENTITY_REFERENCE_NODE: