From efb1d8b52a886e9fe36f82abcb0064a89b2e022f Mon Sep 17 00:00:00 2001 From: Glen Mazza Date: Sun, 5 Sep 2004 04:00:52 +0000 Subject: PR: Obtained from: Submitted by: Reviewed by: 1.) AddChildNode(), characters() modified to throw SAXParseException to allow AddChildNode() to do validation of its own. 2.) Better child validation added to PageSequence.java. 3.) Various other code cleanups. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197903 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/fo/FObj.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/java/org/apache/fop/fo/FObj.java') diff --git a/src/java/org/apache/fop/fo/FObj.java b/src/java/org/apache/fop/fo/FObj.java index cebe2e164..bcaf8906b 100644 --- a/src/java/org/apache/fop/fo/FObj.java +++ b/src/java/org/apache/fop/fo/FObj.java @@ -102,7 +102,7 @@ public class FObj extends FONode implements Constants { */ public void processNode(String elementName, Locator locator, Attributes attlist) throws SAXParseException { - setLocation(locator); + setLocator(locator); addProperties(attlist); } @@ -225,7 +225,7 @@ public class FObj extends FONode implements Constants { /** * @see org.apache.fop.fo.FONode#addChildNode(FONode) */ - protected void addChildNode(FONode child) { + protected void addChildNode(FONode child) throws SAXParseException { if (PropertySets.canHaveMarkers(getNameId()) && child.getNameId() == FO_MARKER) { addMarker((Marker) child); -- cgit v1.2.3