|
|
@@ -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(), |