OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: fo:block is not a valid child element of fo:root


Hi all,

I have a document that is about 43 pages when I open the xml markup in an editor and I can transform the xml to html with no problems.  When I transform it to an fo it transforms without errors, but I have tried turning the fo into a pdf with a couple of different processors.

Fop gives me this error:

Error(9/1602): fo:block is not a valid child element of fo:root.


XmlRoff gives me the following:


(xmlroff:1010): libfo-CRITICAL **: fo-fo-error: FoRoot children do not match allowed content
Object path: /FoTree[1]/FoRoot[1]
Object path: /FoTree[1]/FoRoot[1]

(xmlroff:1010): libfo-CRITICAL **: fo_area_size_request_default: assertion `FO_IS_AREA_AREA (fo_area_parent (child))' failed

(xmlroff:1010): libfo-CRITICAL **: fo_area_size_request_default: assertion `FO_IS_AREA_AREA (fo_area_parent (child))' failed

(xmlroff:1010): libfo-CRITICAL **: fo_area_get_available_width: assertion `fo_area != NULL' failed

(xmlroff:1010): libfo-CRITICAL **: fo_area_area_set_width: assertion `fo_area_area != NULL' failed

libfo-ERROR **: file fo-external-graphic.c: line 1369 (resolve_one_dimension): should not be reached
aborting...
Abort trap

I am really not sure where to even start to fix this problem.  I have a docbook 4 and 5 version of my document and I have tried all different versions of xalan, xerces, fop, and the stylesheets but they all produce the same error.  Currently I am using the  docbook-xsl-ns-1.73.2 stylesheets with xalan 2.7.0.  Any help would be greatly appreciated.


Thanks,

Phil



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]