Here is the code:

<fo:table-row><fo:table-cell><fo:block><xsl:text>&#xa0;</xsl:text></fo:block
></fo:table-cell></fo:table-row>

Here is the fop output:

C:\Documents and Settings\mdon\My Documents\FOP\fop-0.20.5>fop.bat -d -fo
"c:\do
cuments and settings\mdon\my documents\statement2.fo" -pdf "c:\documents and
set
tings\mdon\my documents\statement2.pdf"
[DEBUG] Input mode:
[DEBUG] FO
[DEBUG] fo input file: c:\documents and settings\mdon\my
documents\statement2.fo

[DEBUG] Output mode:
[DEBUG] pdf
[DEBUG] output file: c:\documents and settings\mdon\my
documents\statement2.pdf
[DEBUG] OPTIONS
[DEBUG] no user configuration file is used [default]
[DEBUG] debug mode on
[DEBUG] dump configuration
[DEBUG] quiet mode on
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] base directory: file:/c:/documents and settings/mdon/my documents/
[INFO] FOP 0.20.5
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[INFO] setting up fonts
[ERROR] Invalid byte 1 of 1-byte UTF-8 sequence.
org.apache.fop.apps.FOPException: Invalid byte 1 of 1-byte UTF-8 sequence.
        at org.apache.fop.apps.Driver.render(Driver.java:507)
        at
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:10
6)
        at org.apache.fop.apps.Fop.main(Fop.java:62)

---------

java.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8 sequence.
        at org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown Source)
        at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source)
        at
org.apache.xerces.impl.XMLEntityManager$EntityScanner.load(Unknown So
urce)
        at
org.apache.xerces.impl.XMLEntityManager$EntityScanner.skipChar(Unknow
n Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.fop.apps.Driver.render(Driver.java:498)
        at
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:10
6)
        at org.apache.fop.apps.Fop.main(Fop.java:62)

---------

java.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8 sequence.
        at org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown Source)
        at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source)
        at
org.apache.xerces.impl.XMLEntityManager$EntityScanner.load(Unknown So
urce)
        at
org.apache.xerces.impl.XMLEntityManager$EntityScanner.skipChar(Unknow
n Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.fop.apps.Driver.render(Driver.java:498)
        at
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:10
6)
        at org.apache.fop.apps.Fop.main(Fop.java:62)

-----Original Message-----
From: Chris Bowditch [mailto:[EMAIL PROTECTED]
Sent: 28 September 2004 16:26
To: [EMAIL PROTECTED]
Subject: Re: Preserving blank table rows


Mark Donnelly wrote:

> Im using an xslt/fo transform of an xml document and dont have any html in
> it. As such &nbsp; isnt recognised.
> 
> Ive also tried the UTF-8 sequence: &#xa0; but that is then not recognised
by
> the fop parser.

&#xA0; should work. Can you post the error here, along with a snippet of the

XSLT you are using.

<snip/>

Chris


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

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

Reply via email to