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

           Summary: white-space-collapse="false" does not work
           Product: Fop
           Version: all
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: pdf renderer
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When I create a FO document with <fo:inline white-space-collapse="false">  
</fo:inline> I see that in my final document I can get two spaces to separate 
certain items. But when I change the document to a xsl stylesheet with FO I 
stops working.

Here's a style sheet in where it fails! When I chang it back to an FO document 
(strip first two and last two lines from the file it works as aspected!)

<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet version="1.0"
   xmlns:fo="http://www.w3.org/1999/XSL/Format";
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
   <xsl:output indent="yes" />
   <xsl:template match="/">
      <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
         <fo:layout-master-set>
            <fo:simple-page-master master-name="my-page"
               page-height="297mm" page-width="210mm"
               margin-top="1.17cm"
               margin-bottom="2.54cm"
               margin-left="1.9cm"
               margin-right="1.9cm">
               <fo:region-body />
            </fo:simple-page-master>
         </fo:layout-master-set>
         <fo:page-sequence master-name="my-page">
            <fo:flow flow-name="xsl-region-body">
               <fo:block text-align="left" font-size="10pt" line-height="10pt">
                  This is a test.<fo:inline white-space-
collapse="false">           </fo:inline>This is anotherone!
               </fo:block>
            </fo:flow>
         </fo:page-sequence>
      </fo:root>
   </xsl:template>
</xsl:stylesheet>

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

Reply via email to