You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2002/04/23 17:21:18 UTC

DO NOT REPLY [Bug 4171] - white-space-collapse="false" does not work

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4171>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4171

white-space-collapse="false" does not work

j3322ptm@yahoo.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From j3322ptm@yahoo.de  2002-04-23 15:21 -------
An XSL style sheet is not the same as an XSLFO source. By specification,
text nodes containing only whitespace are stripped from the style sheet
unless they are in an xsl:text element (the XML source is another matter).
This means, the whitespace text node child of the fo:inline in question is
completely stripped, and the fo:inline ends up empty in the transformation
result. This can be easily verified by running the transformation standalone.
If white space from a style sheet (not the XML source) should be passed to
the result, use either xsl:text
 <xsl:text>       </xsl:text>
or xml:space="preserve"
 <fo:inline white-space-collapse="false"
   xml:space="preserve">           </fo:inline>
Only the former is really guaranteed to work. (There are processors where
the latter doesn't work by design)

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org