Reusable content (table) error
Posted: Fri Sep 16, 2011 7:21 pm
I created a table (it's a CALS table, 3 rows, and is used many times) and then did "Create Reusable Component" on the DITA menu. In several different topics I imported this table with "Insert Reusable Content" on the DITA menu. Now I'm getting the following Authoring error: "W [Author layout]:Cannot create a table. A table element cannot contain children other than elements and comment." associated with each occurance. I can still transform to PDF but everytime validation occurs the same error pops up. How do I fix this? The imported table looks like this:
<table conref="Standard_element_opt.xml#ReusableComponent_4p1_fwz_pd/table_Opt_Table_Options"
id="table_rc4_txz_pd">
<tgroup cols="cols_1dn_txz_pd">
<tbody>
<row>
<entry/>
</row>
</tbody>
</tgroup>
</table>
I have a Note element the I use as a reuseable component but there are no errors for the Note.
Thanks again for your help.
<table conref="Standard_element_opt.xml#ReusableComponent_4p1_fwz_pd/table_Opt_Table_Options"
id="table_rc4_txz_pd">
<tgroup cols="cols_1dn_txz_pd">
<tbody>
<row>
<entry/>
</row>
</tbody>
</tgroup>
</table>
I have a Note element the I use as a reuseable component but there are no errors for the Note.
Thanks again for your help.