jeremias    2004/08/14 09:26:08

  Modified:    examples/mathml/src/org/apache/fop/mathml MathMLElement.java
               examples/plan/src/org/apache/fop/plan PlanElement.java
  Log:
  Adjusting to changes in XmlObj, making the sample extensions compile again.
  
  Revision  Changes    Path
  1.7       +3 -4      
xml-fop/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java
  
  Index: MathMLElement.java
  ===================================================================
  RCS file: 
/home/cvs/xml-fop/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- MathMLElement.java        16 Jun 2004 21:27:40 -0000      1.6
  +++ MathMLElement.java        14 Aug 2004 16:26:08 -0000      1.7
  @@ -23,8 +23,6 @@
   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.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 @@
        * @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();
       }
  
  
  
  1.7       +3 -3      xml-fop/examples/plan/src/org/apache/fop/plan/PlanElement.java
  
  Index: PlanElement.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/examples/plan/src/org/apache/fop/plan/PlanElement.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- PlanElement.java  16 Jun 2004 21:27:50 -0000      1.6
  +++ PlanElement.java  14 Aug 2004 16:26:08 -0000      1.7
  @@ -21,11 +21,11 @@
   import java.awt.geom.Point2D;
   
   import org.apache.fop.fo.FONode;
  -import org.apache.fop.apps.FOPException;
   
   import org.w3c.dom.Document;
   import org.xml.sax.Attributes;
   import org.xml.sax.Locator;
  +import org.xml.sax.SAXParseException;
   
   /**
    * This class defines the plan element.
  @@ -48,7 +48,7 @@
        * @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();
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to