aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/java/org/apache/fop/accessibility/reduceFOTree.xsl6
-rw-r--r--src/java/org/apache/fop/render/intermediate/IFParser.java3
2 files changed, 3 insertions, 6 deletions
diff --git a/src/java/org/apache/fop/accessibility/reduceFOTree.xsl b/src/java/org/apache/fop/accessibility/reduceFOTree.xsl
index eb808286b..84c500639 100644
--- a/src/java/org/apache/fop/accessibility/reduceFOTree.xsl
+++ b/src/java/org/apache/fop/accessibility/reduceFOTree.xsl
@@ -75,11 +75,11 @@
</xsl:element>
</xsl:template>
+ <!-- the following nodes are being ignored/filtered -->
+ <xsl:template match="text()"/>
- <xsl:template match="text()"></xsl:template>
-
- <xsl:template match="fo:layout-master-set|comment() | processing-instruction() | fo:simple-page-master | fo:table-column | fo:leader | fo:retrieve-marker "/>
+ <xsl:template match="fo:layout-master-set | comment() | processing-instruction() | fo:simple-page-master | fo:table-column | fo:leader | fo:retrieve-marker "/>
<xsl:template match="svg:svg | svg | fo:inline-container | fo:float | fo:bidi-override"/>
diff --git a/src/java/org/apache/fop/render/intermediate/IFParser.java b/src/java/org/apache/fop/render/intermediate/IFParser.java
index 0648b6628..f1a921377 100644
--- a/src/java/org/apache/fop/render/intermediate/IFParser.java
+++ b/src/java/org/apache/fop/render/intermediate/IFParser.java
@@ -185,7 +185,6 @@ public class IFParser implements IFConstants {
public void startElement(String uri, String localName, String qName, Attributes attributes)
throws SAXException {
if (delegate != null) {
- //delegateStack.push(qName);
delegateDepth++;
delegate.startElement(uri, localName, qName, attributes);
} else {
@@ -202,8 +201,6 @@ public class IFParser implements IFConstants {
} catch (IFException ife) {
handleIFException(ife);
}
- } else if ("extension-attachments".equals(localName)) {
- //TODO implement me
} else {
handled = false;
}