Hi Andreas,

One last thing:

> Modified: 
> xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/Wrapper.java
> URL: 
> http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/Wrapper.java?rev=604678&r1=604677&r2=604678&view=diff
> ==============================================================================
> --- xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/Wrapper.java 
> (original)
> +++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/Wrapper.java Sun 
> Dec 16 11:54:00 2007
> @@ -94,9 +88,8 @@
>                  int end, 
>                  PropertyList pList, 
>                  Locator locator) throws FOPException {
> -        /* Only add text if the fo:wrapper is not a child of an fo:flow 
> -         * or fo:static-content */
> -        if (!this.isFlowChild) {
> +        /* Only add text if the fo:wrapper's parent allows inline children */
> +        if (this.inlineChildrenAllowed) {
>              super.addCharacters(data, start, end, pList, locator);

IIUC, this check isn’t necessary? If test children weren’t allowed this 
would have been caught by the validateChildNode method?

Vincent


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

Reply via email to