Mixed content in CALS table <entry>

dcramer
Posts: 161
Joined: Sat Aug 28, 2010 1:23 am

Mixed content in CALS table <entry>

Post by dcramer »

The <entry> element can contain either mixed content (text and inlines) or block elements, but not both. Curiously, if your cursor is in an entry that already contains text, when you invoke the content completion, it suggests as possible child elements block elements like para, itemizedlist, etc. Once you insert one of these elements, you're immediately told that it's invalid. It would be better if you weren't these block elements as valid options by content completion.

Image
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: Mixed content in CALS table <entry>

Post by Radu »

Hi David,

Thanks for the report, indeed if the RNG schema reports that an element can contain either text and some inline elements or other block elements, Oxygen will propose those block elements even if there is already text inside that element. We are aware of the problem, I will add your details on the already opened internal issue. If at some point we find the technical means to fix it, we'll update this forum post.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply