diff options
author | Jeremias Maerki <jeremias@apache.org> | 2004-08-14 16:26:08 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2004-08-14 16:26:08 +0000 |
commit | c051ae01325e8bffb9985204eaf1115ec4d39329 (patch) | |
tree | ccb3a01a739d53ba9ee2820b001a79de3df2a690 /examples/mathml | |
parent | 341c5e433096361036a9336e5bec9ba6de90f3fa (diff) | |
download | xmlgraphics-fop-c051ae01325e8bffb9985204eaf1115ec4d39329.tar.gz xmlgraphics-fop-c051ae01325e8bffb9985204eaf1115ec4d39329.zip |
Adjusting to changes in XmlObj, making the sample extensions compile again.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197870 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'examples/mathml')
-rw-r--r-- | examples/mathml/src/org/apache/fop/mathml/MathMLElement.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java b/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java index adba83210..5167aa0f4 100644 --- a/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java +++ b/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java @@ -23,8 +23,6 @@ import java.awt.Dimension; import java.awt.geom.Point2D; import org.apache.fop.fo.FONode; -import org.apache.fop.apps.FOPException; - import org.w3c.dom.DOMImplementation; import org.w3c.dom.Document; import org.w3c.dom.Element; @@ -32,6 +30,7 @@ import org.w3c.dom.Node; import org.xml.sax.Attributes; import org.xml.sax.Locator; +import org.xml.sax.SAXParseException; import org.apache.batik.svggen.SVGGraphics2D; import org.apache.batik.dom.svg.SVGDOMImplementation; @@ -60,7 +59,7 @@ public class MathMLElement extends MathMLObj { * @see org.apache.fop.fo.FONode#processNode */ public void processNode(String elementName, Locator locator, - Attributes attlist) throws FOPException { + Attributes attlist) throws SAXParseException { super.processNode(elementName, locator, attlist); createBasicDocument(); } |