cannot merge/split table cells

May 13 2008

  • 3 replies.
  • This question is resolved, if you still have a question, you can re-open it by reacting to it.
  • This question was started by Josias.
  • Last post by Josias.
Josias
member
13 May, 18:19
Hi,
I cannot merge/split table cells as the entries in the context menu are always disabled. However, I'm able to convert a td to th, or to insert new rows/columns.

Here is an excerpt of my role-mapping:
<roleMapping xmlns:xhtml="http://www.w3.org/1999/xhtml">
<element name="xhtml:table" role="table" />
<attribute name="border" role="tableborder" />
<element name="xhtml:tbody" role="tablerowcontainer" />
<element name="xhtml:tbody" role="tablebody" />
<element name="xhtml:tfoot" role="tablefooter" />
<element name="xhtml:tr" role="tablerow" />
<element name="xhtml:tr" role="tablecellcontainer" />
<element name="xhtml:th" role="tableheadercell" />
<element name="xhtml:td" role="tablecell" />
<element name="xhtml:caption" role="tablecaption" />
<attribute name="rowspan" role="cellrowspan" />
<attribute name="colspan" role="cellcolspan" />
<attribute name="cellspacing" role="tablecellspacing" />
<attribute name="cellpadding" role="tablecellpadding" />
<attribute name="color" role="color" />
</roleMapping>

I also tried to prepend the xhtml prefix to the attributes:
<attribute name="xhtml:rowspan" role="cellrowspan" />

but it didn't make a difference.
any ideas?

(using Xopus 3.2.10)
Sjoerd
Xopus Team
14 May, 00:12
Hi, could you press Ctrl+Alt+R? This starts the reproducer which will send your files to our testserver. That makes it a lot easier to see what is going on.
Sjoerd
Xopus Team
14 May, 10:40
Thanks.

The problem is that the default namespace is assigned to the xopus config namespace. So attribute name="rowspan" means the attribute rowspan in the xopus config namespace.

The only way to fix this is to assign a prefix to the xopus config namespace, as undeclaring the default namespace (xmlns="") doesn't work in MSXML.
Josias
member
14 May, 13:33
Now it's working.
Thank you very much for your help.


React

HTML will be shown as HTML code.
Linebreaks and Links starting with http:// are automatically resolved