[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Re : [xsl] XSL-FO: Drawing a line around every page

Subject: Re: [xsl] Re : [xsl] XSL-FO: Drawing a line around every page
From: davep <davep@xxxxxxxxxxxxx>
Date: Mon, 02 Apr 2012 19:02:21 +0100

On 02/04/12 14:05, Florent Georges wrote:
Betty Harvey wrote:

Hi Betty,

Thanks for your response!

<fo:region-body display-align="center"
             border="thin double black"/>

When I try that (or with, say, @border-right), FOP gives me a validation error and points me to the section on fo:region-body in XSL-FO 1.1<http://www.w3.org/TR/xsl/#fo_region-body>, where we can read: """[...] The values of the padding and border-width traits must be "0"."""

   I'm not an expert of the XSL-FO 1.1 spec, but I think this really
apply on fo:region-body (by transitivity on the region-viewport-area
mentioned in the same para).

Is FOP right, or did I misunderstand the spec?

IIRC fop is being 'tight' to the spec, most other processors allow it.


Dave Pawson

Current Thread