This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
[docbook] Error processing FO output from docbook-xsl
- From: "Robert Shields" <rshields at star dot net dot uk>
- To: <docbook at lists dot oasis-open dot org>
- Date: Wed, 8 Oct 2003 10:39:12 +0100
- Subject: [docbook] Error processing FO output from docbook-xsl
Hi,
I have tried with 2 FO processors to process the ouput from docbook-xsl.
The errors I get from XEP are as follows:
(document
(validate
{!file:/c%3A/work/hacks/documentation/xsl-fo/tempfo.xml: line 1: [error]
Element 'fo:block' cannot be a child of 'fo:root'.}
{!file:/c%3A/work/hacks/documentation/xsl-fo/tempfo.xml: line 1: [error]
There should be at least one 'page-sequence' element as a child of
'fo:root'.}
{!file:/c%3A/work/hacks/documentation/xsl-fo/tempfo.xml: line 1: [error]
Attribute 'color' cannot occur at element 'fo:block'.}
...
{!file:/c%3A/work/hacks/documentation/xsl-fo/tempfo.xml: line 1: [error]
Attribute 'color' cannot occur at element 'fo:block'.}
[validation total: 10 errors])
error: SAX parsing error: Invalid XSL FO source
'file:/c%3A/work/hacks/documentation/xsl-fo/tempfo.xml': 10 error(s)
found
The errors I get from XSL-formatter are as follows:
Missing formatting object: fo:page-sequence
file:///C:/work/hacks/documentation/xsl-fo/tempfo.xml
Both processors imply that the output does not validate as FO. Does
docbook-xsl produce FO to a different schema than the FO processors I am
using? Both are current versions.
Regards,
Rob Shields
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
_____________________________________________________________________
To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.