Reusable content (table) error

Posts: 22

Reusable content (table) error

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"
<tgroup cols="cols_1dn_txz_pd">

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.
Posts: 5866

Re: Reusable content (table) error

Mon Sep 19, 2011 10:08 am

Hi Bob,

I reproduced the problem, we'll try to fix it in Oxygen 13.1.
In the meantime you can open the CSS stylesheet:

and add at the beginning of the CSS these CSS selectors:

Code: Select all

    display : block;

This should remove the layout error messages.

Radu Coravu
<oXygen/> XML Editor

Return to “DITA (Editing and Publishing DITA Content)”

Who is online

Users browsing this forum: Google Feedfetcher and 2 guests