On Wed, 08 Aug 2001 15:48:59 Elliotte Rusty Harold wrote:
> I don't know what's supposed to be happening here, but I have noted that
> FOP  collapses blank lines in my source code using the Docbook XSLT
> stylesheets being discussed. Every other XSL-FO processor leaves the
> blank lines where I put them, so I'm pretty sure FOP is doing something
> wrong. If it's not linefeed-treatment, then almost certainly something
> else is wrong. 

I think I read the spec wrong. When it says no special it means certain
things. The white space should not be collapsed and as a separate issue the
linefeeds should still behave as linefeeds.
It appears there are three things that can effect whitespace:
space-treatment, white-space-collapse and linefeed-treatment.
The linefeed treatment acts to override how linefeeds are dealt with
(default is "treat as space") depending on the other two.

So in this case the linefeeds should appear as new lines in the output and
all whitespace should be written to the output.

----
Rule 535: never read any part of the spec without cross referencing at
least another 50%

I just broke this rule so I could still be wrong.

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

Reply via email to