aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2009-04-16 09:11:21 +0000
committerJeremias Maerki <jeremias@apache.org>2009-04-16 09:11:21 +0000
commitedba3dbe22abe5b21784ec3f0525ccf50f6acd49 (patch)
treeade7512667635ad2d2d5054a13a7c2e2562c8f95 /src/java/org/apache/fop/render
parent5a0c020ad1330df3b6c94cef63698344dfbada00 (diff)
downloadxmlgraphics-fop-edba3dbe22abe5b21784ec3f0525ccf50f6acd49.tar.gz
xmlgraphics-fop-edba3dbe22abe5b21784ec3f0525ccf50f6acd49.zip
Bugfix for navigation elements when parsing intermediate content.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@765526 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render')
-rw-r--r--src/java/org/apache/fop/render/intermediate/IFSerializer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/intermediate/IFSerializer.java b/src/java/org/apache/fop/render/intermediate/IFSerializer.java
index 2f5524c2c..e00c88b4a 100644
--- a/src/java/org/apache/fop/render/intermediate/IFSerializer.java
+++ b/src/java/org/apache/fop/render/intermediate/IFSerializer.java
@@ -366,7 +366,6 @@ public class IFSerializer extends AbstractXMLWritingIFDocumentHandler
public void startPageTrailer() throws IFException {
try {
handler.startElement(EL_PAGE_TRAILER);
- commitNavigation();
} catch (SAXException e) {
throw new IFException("SAX error in startPageTrailer()", e);
}
@@ -375,6 +374,7 @@ public class IFSerializer extends AbstractXMLWritingIFDocumentHandler
/** {@inheritDoc} */
public void endPageTrailer() throws IFException {
try {
+ commitNavigation();
handler.endElement(EL_PAGE_TRAILER);
} catch (SAXException e) {
throw new IFException("SAX error in endPageTrailer()", e);