Details
-
Bug
-
Resolution: Unresolved
-
High
-
1.13.3, 2.2.2
-
None
Description
The xslt used by ezxmltext -> richtext conversion do not take into account that docbook do not allow <informaltable> below <table>
The following ezxml will be converted incorrectly
<?xml version="1.0" encoding="utf-8"?> <section xmlns:image="http://ez.no/namespaces/ezpublish3/image/" xmlns:xhtml="http://ez.no/namespaces/ezpublish3/xhtml/" xmlns:custom="http://ez.no/namespaces/ezpublish3/custom/"> <paragraph xmlns:tmp="http://ez.no/namespaces/ezpublish3/temporary/"> </paragraph> <table custom:caption="some caption"> <tr> <td> <paragraph>table</paragraph> </td> </tr> <tr> <td> <paragraph> <table> <tr> <td> <paragraph>table because we cannot have informaltable below table</paragraph> </td> </tr> </table> </paragraph> </td> </tr> </table>
Both the tables above should be converted as <table>, but the second one is converted into <informaltable>