aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2009-04-16 09:11:51 +0000
committerJeremias Maerki <jeremias@apache.org>2009-04-16 09:11:51 +0000
commit75fde7d0214aa2c35ce1f4695ae631752ae659fd (patch)
treead8fec8701646160edc2b0f14eb67fd9ca826995 /src/java/org/apache
parentedba3dbe22abe5b21784ec3f0525ccf50f6acd49 (diff)
downloadxmlgraphics-fop-75fde7d0214aa2c35ce1f4695ae631752ae659fd.tar.gz
xmlgraphics-fop-75fde7d0214aa2c35ce1f4695ae631752ae659fd.zip
Some cleanup.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@765528 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache')
-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;
}