Actually, this message refers to the fo:region-before element in the single-page-master. The specification dictates that border and/or padding must not be specified on a region-before which seems to be the case in your example. Either remove the offending properties or disable "strict validation" [1][2] (-r on the command-line). In the latter case, you will still receive a warning but not an exception anymore. Have fun.
[1] http://xmlgraphics.apache.org/fop/0.91/embedding.html#config-internal [2] http://xmlgraphics.apache.org/fop/0.91/configuration.html#general-elements On 15.02.2006 22:50:26 Tracey Zellmann wrote: > Now that I have fixed the problem with my classpath, I am tryign to run some > examples that worked on the older fop-0.20.5 but don't seem to succeed when > using the new version. > > Specifically, I have an example tha comes with StyluStudio thate creates a > catalog with text pictures. Using the new fop, I get this error: > (Location of error unknown)org.apache.fop.fo.expr.PropertyException: Border > and padding for region "xsl-region-before" must be '0' (See 6.4.13 in XSL > 1.0). > > I believe the specific area in the style sheet that the error is referring to > is this: > > <!-- Define the contents of the header. --> > > <fo:static-content flow-name="xsl-region-before"> > > <fo:block font-size="8.0pt" font-family="serif" padding-after="2.0pt" > > space-before="4.0pt" text-align="center" > > border-bottom-style="solid" border-bottom-width="1.0pt"> > > <xsl:text>Stylus Studio Multimedia Catalog of Video and Computer > Books</xsl:text> > > </fo:block> > > </fo:static-content> > > Any help or advice would be appreciated. I have tried to make some changes to > the attributes, but I haven't been successful. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
