KAZUKO 0. wrote:
I use xxe 9.1 for dita file editing.
I have a question about the parser when editing table elements.
I know you have no problem when you always use the dita topic display of> xxe
for creating tables.
But users sometimes paste a part of tables to an existing table by using> XML
source display,
and they make errors without noticing it like the attached dita file.
OK.
There is “<entry nameend="_2" namest="_1">test</entry>” for the third> row,
incorrectly.
It should be “<entry>test</entry>”.
Yes.
Xxe does not tell there is an error.
XXE currently does not attempt to detect any error related to CALS table
consistency.
XXE currently just automatically computes the cols attribute of tgroup.
Excerpts from XXE_install_dir/addon/config/dita/topic_support.incl:
---
<validateHook name="checkCols">
<!-- Fixes the cols attribute of tgroup if needed to. -->
<class>com.xmlmind.xmleditext.docbook.table.ValidateHookImpl</class>
</validateHook>
---
See
https://www.xmlmind.com/xmleditor/_distrib/doc/configure/validateHook.html
Could I have an error on this case?
This specific kind of error, that is, row spans and column spans which
are inconsistent, is quite difficult to detect.
We'll see what we can do in XXE v9.3 but I'm not sure we'll able to
implement this specific verification.
When we'll work on the subject, we'll keep you informed about what can
be done and what cannot be done in our validateHook called "checkCols".
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
https://www.xmlmind.com/mailman/listinfo/xmleditor-support