? means 0 or 1 (so optional, yes)
+ means 1 or more (required and may repeat)
* means 0 or more (optional and may repeat)
 (no mark) means just 1 (required and may not repeat)

Jay Bryant
Bryant Communication Services
http://www.bryantcs.com/

----- Original Message ----- From: "Fournier,Danny [NCR]" <[EMAIL PROTECTED]>
To: <fop-users@xmlgraphics.apache.org>
Sent: Monday, March 03, 2008 12:08 PM
Subject: RE: fo:simple-page-master is missing child elements


Thanks Andreas. Everything worked in 0.20.5 so I assumed that it would
still work in 0.94.

What is the suffix appended to the order of the fields? I've seend "?",
which I assume mean optional. What about "+" ?

DF
-----Original Message-----
From: Andreas Delmelle [mailto:[EMAIL PROTECTED] Sent: March 3, 2008 12:38 PM
To: fop-users@xmlgraphics.apache.org
Subject: Re: fo:simple-page-master is missing child elements

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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


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

Reply via email to