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] Yet again, FOP complaining of the generated fo file


Yes, the standard has a content model of (%block;)+, which means it should not be empty. What DocBook XML is triggering that output?

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- From: "Alberto Simões" <hashashin@gmail.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, April 03, 2012 10:02 AM
Subject: [docbook-apps] Yet again, FOP complaining of the generated fo file


Hello, friends

As you might recall, I shared some trouble I was having with FOP and
conversion of a .fo file to .pdf.
Bob helped finding the problem, I reported to FOP developers, and it
was fixed today on trunk.

But now, I have some other problems, and I would like to hear from you
wether or not this might be a bug of FOP, so I can report again :)

FOP complains with:

javax.xml.transform.TransformerException:
org.apache.fop.fo.ValidationException: "fo:list-item-label" is missing
child elements. Required content model: marker* (%block;)+ (See
position 10949:732)

The complain is correct, as the generated code is:

<fo:list-item space-after="0pt" space-before.minimum="0.5em"
space-before.optimum="1em" space-before.maximum="2em"
space-after.minimum="0.5em" space-after.optimum="1em"
space-after.maximum="2em"><fo:list-item-label/><fo:list-item-body
start-indent="0pt" end-indent="0pt"><fo:block-container width="100%"
height="2in"><fo:block>

Now, the quesiton is, is it correct that the label should have a content?

Thank you for pointers,
Alberto

--
Alberto Simões

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org





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