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: Re: [docbook-apps] fo:block is not a valid child element of fo:root

Thanks for the offer Mauritz.  In making my simple as possible document I was able to reproduce the problem with:

<?xml version="1.0" encoding="UTF-8"?>

<book xmlns="http://docbook.org/ns/docbook ">




I looked this up in the documentation and realized that the tag <para> was not a valid child of <book>.  Really a case of RTFM.  I removed the one paragraph at the top of my document (before the first chapter) and the error went away.

It is funny that the HTML stylesheets rendered my illegal paragraph as if nothing was wrong!


On 10/3/07, Mauritz Jeanson <mj@johanneberg.com> wrote:
> -----Original Message-----
> From: Phil Borlin
> 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.

I'll look into this if you provide a small source document that exhibits the
problem. Please trim it down as much as possible.


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