> URL: http://svn.apache.org/viewvc?rev=607188&view=rev
> Log:
> Throwing IllegalStateException causes a prior exception to be swallowed by 
> Xalan-J. Need to throw a SAXException instead.
> Instead of logging an error about the element mismatch throw a SAXException 
> because the logging only confuses the user as it's practically always a 
> follow-up exception of an exception happening earlier in the respective 
> startElement() event.
> Modified: 
> xmlgraphics/fop/branches/Temp_ImagePackageRedesign/src/java/org/apache/fop/fo/FOTreeBuilder.java
> +        /** [EMAIL PROTECTED] */
>          public void endElement(String uri, String localName, String rawName)
>                      throws SAXException {
>              if (currentFObj == null) {

How can currentFObj be null in the first place? Normally it was set in 
the previous startElement event (or a ValidationException has been throw 


Vincent Hennebert                            Anyware Technologies
http://people.apache.org/~vhennebert         http://www.anyware-tech.com
Apache FOP Committer                         FOP Development/Consulting

Reply via email to