Reusable content (table) error
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 22
- Joined: Sun Aug 14, 2011 5:21 am
Reusable content (table) error
Post by Bob.Conlin »
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.
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Reusable content (table) error
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:
OXYGEN_INSTALL_DIR/frameworks/dita/css_classed/conrefs.css
and add at the beginning of the CSS these CSS selectors:
This should remove the layout error messages.
Regards,
Radu
I reproduced the problem, we'll try to fix it in Oxygen 13.1.
In the meantime you can open the CSS stylesheet:
OXYGEN_INSTALL_DIR/frameworks/dita/css_classed/conrefs.css
and add at the beginning of the CSS these CSS selectors:
Code: Select all
*[class~="topic/table"][conref],
*[class~="topic/table"][conkeyref]{
display : block;
}
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service