Hidden tables are visible in Word 2003 and Word 2007 (bug?)

R

Roger

Hello all,
I'd like to report a weird behaviour of MS Word (I tested this with
both the 2003 and 2007 versions).
The problem is related to the correct visualization of hidden tables in
a document marked with xml tags.
To test this scenario it is enough to create an htm file and paste the
html code below as the source. If this document is opened with Word it
is displayed correctly (no hidden tables and text are visible), but
then if the document is saved and reopened the first table becomes
visible (only the structure, not the content).
The second table in the document behaves correctly. The only difference
between the two is that the first is wrapped by an xml tag.
If the document is saved as doc, then Word 2003 behaves correctly,
instead Word 2007 shows the same problem.

I hope Microsoft can recognize the issue and fix it; whereas if the
problem stands in the document I'd like to know.
Regards,
Roger

------- html ------
<html xmlns:eek:="urn:schemas-microsoft-com:eek:ffice:eek:ffice"
xmlns:w="urn:schemas-microsoft-com:eek:ffice:word"
xmlns="http://www.w3.org/TR/REC-html40" xmlns:ns0="datev.it.xml"
xmlns:ns1="">

<head>
</head>

<body lang=IT style='tab-interval:35.4pt' scroll=yes>

<div class=Section1>

<p class=MsoNormal><span lang=EN-GB
style='mso-ansi-language:EN-GB'>First hidden
table and text follow:<o:p></o:p></span></p>

<ns1:dsez>
<table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0

style='border-collapse:collapse;display:none;border:none;mso-border-alt:solid
black .75pt;
mso-padding-alt:0cm 0cm 0cm 0cm'>
<tr
style='mso-yfti-irow:0;mso-yfti-firstrow:yes;display:none;height:23.25pt'>
<td width=300 style='width:225.0pt;border:solid black
1.0pt;mso-border-alt:
solid black .75pt;background:lightgrey;padding:0cm 0cm 0cm
0cm;height:23.25pt'>
<p style='margin:0cm;margin-bottom:.0001pt'><b><span
style='display:none;
mso-hide:all'>Col 1</span></b><span
style='display:none;mso-hide:all'><o:p></o:p></span></p>
</td>
<td width=130 style='width:97.5pt;border:solid black
1.0pt;border-left:none;
mso-border-left-alt:solid black .75pt;mso-border-alt:solid black
..75pt;
background:lightgrey;padding:0cm 0cm 0cm 0cm;height:23.25pt'>
<p style='margin:0cm;margin-bottom:.0001pt'><b><span
style='display:none;
mso-hide:all'>Col 2</span></b><span
style='display:none;mso-hide:all'><o:p></o:p></span></p>
</td>
</tr>
<tr
style='mso-yfti-irow:1;mso-yfti-lastrow:yes;display:none;height:15.0pt'>
<td width=300 style='width:225.0pt;border:solid black
1.0pt;border-top:none;
mso-border-top-alt:solid black .75pt;mso-border-alt:solid black
..75pt;
padding:0cm 0cm 0cm 0cm;height:15.0pt'>
<p style='margin:0cm;margin-bottom:.0001pt'><span
style='display:none;
mso-hide:all'>&nbsp;Text 1<o:p></o:p></span></p>
</td>
<td width=130 style='width:97.5pt;border-top:none;border-left:none;
border-bottom:solid black 1.0pt;border-right:solid black
1.0pt;mso-border-top-alt:
solid black .75pt;mso-border-left-alt:solid black
..75pt;mso-border-alt:solid black .75pt;
padding:0cm 0cm 0cm 0cm;height:15.0pt'>
<p style='margin:0cm;margin-bottom:.0001pt'><span
style='display:none;
mso-hide:all'>Text 2<o:p></o:p></span></p>
</td>
</tr>
</table>
</ns1:dsez>

<p class=MsoNormal><span lang=EN-GB
style='mso-ansi-language:EN-GB'>Second hidden
table and text follow:<o:p></o:p></span></p>

<table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0

style='border-collapse:collapse;display:none;border:none;mso-border-alt:solid
black .75pt;
mso-padding-alt:0cm 0cm 0cm 0cm'>
<tr
style='mso-yfti-irow:0;mso-yfti-firstrow:yes;display:none;height:23.25pt'>
<td width=300 style='width:225.0pt;border:solid black
1.0pt;mso-border-alt:
solid black .75pt;background:lightgrey;padding:0cm 0cm 0cm
0cm;height:23.25pt'>
<p style='margin:0cm;margin-bottom:.0001pt'><b><span
style='display:none;
mso-hide:all'>Col 1</span></b><span
style='display:none;mso-hide:all'><o:p></o:p></span></p>
</td>
<td width=130 style='width:97.5pt;border:solid black
1.0pt;border-left:none;
mso-border-left-alt:solid black .75pt;mso-border-alt:solid black
..75pt;
background:lightgrey;padding:0cm 0cm 0cm 0cm;height:23.25pt'>
<p style='margin:0cm;margin-bottom:.0001pt'><b><span
style='display:none;
mso-hide:all'>Col 2</span></b><span
style='display:none;mso-hide:all'><o:p></o:p></span></p>
</td>
</tr>
<tr
style='mso-yfti-irow:1;mso-yfti-lastrow:yes;display:none;height:15.0pt'>
<td width=300 style='width:225.0pt;border:solid black
1.0pt;border-top:none;
mso-border-top-alt:solid black .75pt;mso-border-alt:solid black
..75pt;
padding:0cm 0cm 0cm 0cm;height:15.0pt'>
<p style='margin:0cm;margin-bottom:.0001pt'><span
style='display:none;
mso-hide:all'>&nbsp;Text 1<o:p></o:p></span></p>
</td>
<td width=130 style='width:97.5pt;border-top:none;border-left:none;
border-bottom:solid black 1.0pt;border-right:solid black
1.0pt;mso-border-top-alt:
solid black .75pt;mso-border-left-alt:solid black
..75pt;mso-border-alt:solid black .75pt;
padding:0cm 0cm 0cm 0cm;height:15.0pt'>
<p style='margin:0cm;margin-bottom:.0001pt'><span
style='display:none;
mso-hide:all'>Text 2<o:p></o:p></span></p>
</td>
</tr>
</table>

</div>

</body>

</html>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top