Next in thread → Next in month →

RE: [docbook-apps] Processing title in revhistory?

From
"[auritz Keanson"
Date
2007-11-05T18:10:20+00:00
ID
000001c81fd7$198fbfe0$71ea1a51@D7MZ171J
Thread
RE: [docbook-apps] Processing title in revhistory?
> -----Original Message-----
> From: Jere K鄡yaho 
> 
> 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
lost?

/MJ
Next in thread → Next in month →