Active
Project:
Export DocBook
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Nov 2008 at 00:02 UTC
Updated:
1 Nov 2008 at 00:07 UTC
I just debugged why I got invalid XML and found out that the XSL Transformation creates an orphaned
tag (without the closing ) in some cases.
One such case is construct <strong>some text<strong><br />more text inside a table cell.
To reproduce, create a new node with the following html content:
<table>
<tbody>
<tr>
<td><strong>some text</strong><br />more text</td>
</tr>
</tbody>
</table>
Export this to docbook. If done in Firefox, this will create an invalid xml warning. Looking at the source will reveal an unclosed
tag in blace of the
. Unfortunately I don't understand the XSL well enough yet to fix this, but it seems that the
at this place is causing the problem.
Comments
Comment #1
Bodo Maass commentedWhat I meant to say is that the
<br />tag at this particular place is causing the problem, as it will be converted into an orphaned<para>tag.