Element 'fo:bookmark-tree' cannot be a child of 'fo:root'.

Here should go questions about transforming XML with XSLT and FOP.
loge
Posts: 8
Joined: Sun Apr 03, 2005 8:24 pm

Element 'fo:bookmark-tree' cannot be a child of 'fo:root'.

Post by loge »

Hi,

we are using the oXygen supplied docbook 4.4 XSLs to create FOs which will be rendered by XEP later on. Our project is quite old and all of a sudden it doesnt work anymore and we dont know what has changed.

We get:

Started: /Users/ml/applications/xml/XEP/xep -fo /Users/ml/Development/java/projects/netversys/doc/docbook/index.xml_xslt -pdf /Users/ml/Development/java/projects/netversys/doc/docbook/index.pdf
(document [system-id file:/Users/ml/Development/java/projects/netversys/doc/docbook/index.xml_xslt]
(validate
[error] Element 'fo:bookmark-tree' cannot be a child of 'fo:root'.
[validation total: 1 error]
Parse error: Invalid XSL FO source 'file:/Users/ml/Development/java/projects/netversys/doc/docbook/index.xml_xslt': 1 error found during validation
Process ended with exit code: 1

How can it be that the docbook 4.4 XSLs create a wrong FO file? We are using: $oxygen$/frameworks/docbook/xsl/fo/docbook.xsl

Thanks for hints.

Marc
loge
Posts: 8
Joined: Sun Apr 03, 2005 8:24 pm

Re: Element 'fo:bookmark-tree' cannot be a child of 'fo:root'.

Post by loge »

forget the question. Its definitely XEP related and after upgrading, this works now as expected....


Marc
Post Reply