xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Delmelle <andreas.delme...@telenet.be>
Subject Re: fo:simple-page-master is missing child elements
Date Mon, 03 Mar 2008 17:38:15 GMT
On Mar 3, 2008, at 18:09, Fournier,Danny [NCR] wrote:

Hi

> Here is the rendered XSL-FO:

<snip />

>
> I get the following message:
>
> javax.xml.transform.TransformerException:
> org.apache.fop.fo.ValidationException: Error(Unknown location):
> fo:simple-page-master is missing child elements.
> Required Content Model: (region-body, region-before?, region-after?,
> region-start?, region-end?)
>
> In both cases I have a region-body child specified.

Yes, but in the second case, the regions are not specified in the  
prescribed order (see the error message).

>
> I vaguely remember something about the type of validation (loose,
> strict?) in the setup of the FOP call - could this be my answer?

No, the best way to avoid the error is move the region-body to the  
first position.


HTH!

Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message