xsl-list
[Top] [All Lists]

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

2012-04-02 13:02:42
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.






regards

--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>