Not sure how to describe this problem... I'm using 0.94...
 
Heres my data:
 
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to  come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now  is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country. 

It's one long line, with no newline characters.
 
Here's the output:
 
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid
 of their country. Now is the time for all good men to come to the aid
of their country. Now is the time for all good men  
 to come to the aid of their country. Now is the time for all good men
to come to the aid of their country. Now is the 
 time for all good men to come to the aid of their country. Now is the
time for all good men to come to the aid of their 
 country.

Notice after the line wraps, there is a space printed (I'm assuming it's
a space) before the rest of the line of text is printed.

I'm using my database server, which uses Xalan, to create an FO file
(from an XML file and a stylesheet) that is handed off to FOP. I'm using
a table, and my XSL is this:

   <fo:table-row>
    <fo:table-cell border="1pt solid black" number-columns-spanned="14"
padding="2pt" height="{$appHeight}" display-align="before"> <!--
2.0in-->
     <fo:block text-align="left">APPLICATION:</fo:block>
     <fo:block text-align="left" 
               linefeed-treatment="preserve"
               white-space-treatment="preserve"
               white-space-collapse="false"><xsl:value-of
select="[EMAIL PROTECTED]'768']/[EMAIL PROTECTED]'YES']"/></fo:block>
    </fo:table-cell>
   </fo:table-row>

where "[EMAIL PROTECTED]'768']/[EMAIL PROTECTED]'YES']" is a reference to the
XML data.

Here's the resulting FO snippet (I pretty-printed it for readability. No
formatting):

<fo:table-row>
 <fo:table-cell border="1pt solid black" number-columns-spanned="14"
padding="2pt" height="2.5in" display-align="before">
  <fo:block text-align="left">APPLICATION:</fo:block>
  <fo:block text-align="left" linefeed-treatment="preserve"
white-space-treatment="preserve" white-space-collapse="false">Now is the
time for all good men to come to the aid of their country. Now is the
time for all good men to come to the aid of their country. Now is the
time for all good men to come to the aid of their country. Now is the
time for all good men to come to the aid of their country. Now is the
time for all good men to come to the aid of their country. Now is the
time for all good men to come to the aid of their country. Now is the
time for all good men to come to the aid of their country.</fo:block>
 </fo:table-cell>
</fo:table-row>

Any ideas why there would be an extra space when the line wraps? I've
played with some of the attributes, but haven't been able to fix it.

Thanks,
Pete Allison
"Do or do not. There is no 'try.' " - Yoda


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

Reply via email to