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] Processing title in revhistory?

> -----Original Message-----
> From: Jere Käpyaho 
> According to (my understanding of) TDG5, a revhistory can have a title
> either as standalone or inside an info element. In my DocBook 5.0
> namespaced document, the following construct:
> <revhistory>
>   <title>Change history</title>
>   <revision>
>     <revnumber>0.1</revnumber>
>     <date>2007-10-01</date>
>     <revdescription><para>Created initial 
> version.</para></revdescription>
>   </revision>
> </revhistory>
> makes the DocBook XSL-NS stylesheets v1.73.2 emit the error message
> "title encountered in revhistory, but no template matches." and also
> generate invalid XSL-FO, so that the FO validation complains:
> [error] Element 'fo:block' cannot be a child of 'fo:table-body'. Only
> 'table-row', 'table-cell', 'marker' and change bar elements are
> permitted in this context.

> Would it be a good idea to have a template for revhistory/title in the
> stylesheet? If so, what should it generate? Maybe put the whole
> revhistory inside an fo:table-and-caption element, and then emit an
> fo:table-caption element for the title?

Yes, I think there should be a template for revhistory/title. I don't have
any strong opinions on what it should generate. But at the very least, the
output should not be invalid. 

Can you please file a bug report on the SourceForge site so this doesn't get


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