From 5355a5c8a42aab69db6df7514dd41e4190e81796 Mon Sep 17 00:00:00 2001 From: "Andreas L. Delmelle" Date: Thu, 20 Aug 2009 21:21:43 +0000 Subject: [PATCH] Revert some changes that were meant to be kept local for the moment... git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@806365 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/fo/FOTreeBuilder.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/java/org/apache/fop/fo/FOTreeBuilder.java b/src/java/org/apache/fop/fo/FOTreeBuilder.java index b1fe3bc13..c848eb4f1 100644 --- a/src/java/org/apache/fop/fo/FOTreeBuilder.java +++ b/src/java/org/apache/fop/fo/FOTreeBuilder.java @@ -39,7 +39,6 @@ import org.apache.fop.apps.FormattingResults; import org.apache.fop.area.AreaTreeHandler; import org.apache.fop.fo.ElementMapping.Maker; import org.apache.fop.fo.extensions.ExtensionElementMapping; -import org.apache.fop.fo.extensions.pdf.PDFExtensionElementMapping; import org.apache.fop.fo.pagination.Root; import org.apache.fop.util.ContentHandlerFactory; import org.apache.fop.util.ContentHandlerFactory.ObjectBuiltListener; @@ -264,8 +263,7 @@ public class FOTreeBuilder extends DefaultHandler { } } else { // check that incoming node is valid for currentFObj if (currentFObj.getNamespaceURI().equals(FOElementMapping.URI) - || currentFObj.getNamespaceURI().equals(ExtensionElementMapping.URI) - || currentFObj.getNamespaceURI().equals(PDFExtensionElementMapping.URI)) { + || currentFObj.getNamespaceURI().equals(ExtensionElementMapping.URI)) { currentFObj.validateChildNode(locator, namespaceURI, localName); } } @@ -279,7 +277,6 @@ public class FOTreeBuilder extends DefaultHandler { rootFObj.setBuilderContext(builderContext); rootFObj.setFOEventHandler(foEventHandler); } - builderContext.foIndex++; propertyList = foNode.createPropertyList( currentPropertyList, foEventHandler); foNode.processNode(localName, getEffectiveLocator(), -- 2.39.5