Hi list,
I am using  /xhtml-1_1/docbook.xsl (1.75.2) to chunck a valid docbook
4.5 file and I get invalid xhtml11.

In the docbook source I have valid structures like:

<table><caption><para>mixed content</para></caption>
...
 <td>
    <para>
         <figure float="0"><title/>
                              <mediaobject role="print">
                                 <imageobject>
                                    <imagedata width="28"
fileref="figs/img13.png" format="PNG"/>
                                 </imageobject>
                              </mediaobject>
                           </figure>
     </para>
   </td>
....
</table>

that get transformed in:

<table><caption><p>mixed content</p></caption>
...
  <td>
     <p><div class="figure">....</div></p>
  </td>
...
</table>

The above html is not valid as per <!DOCTYPE html PUBLIC "-//W3C//DTD
XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>
because caption does not allow p children and p does not allow div children.

Is this the expected behaviour starting from a valid docbook file or I
am missing something?

TIA,

__peppo

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to