User talk:Kerz/Todo list for kerz: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(Major breakdown in parsing html </tr>, </table> close tags, maybe due to recent wiki upgrade)
 
(No longer recognizes empty xhtml tags <th/>, <td/>)
 
Line 2: Line 2:
See http://kb.mozillazine.org/Calendaring_Extensions_Index_%28Sunbird%2C_Lightning%2C_CalExt%29  
See http://kb.mozillazine.org/Calendaring_Extensions_Index_%28Sunbird%2C_Lightning%2C_CalExt%29  
This table was working fine recently, so it may be due to a wiki change/upgrade.  [[User:Gc|Gc]] 16:10, 23 December 2006 (UTC)
This table was working fine recently, so it may be due to a wiki change/upgrade.  [[User:Gc|Gc]] 16:10, 23 December 2006 (UTC)
After some more experimenting, it looks like maybe empty XHTML tags such as <td/> or <th/> are no longer being recognized as closed, so a workaround may be to change <td/> into <td></td>.  [[User:Gc|Gc]] 14:44, 24 December 2006 (UTC)
<table style="border:1px solid gray">
<caption>Using &lt;th/&gt; and &lt;td/&gt;</caption>
<tr>
  <th/>
  <th>Alpha</th>
  <th>Beta</th>
  <th>Gamma</th>
</tr row="1a">
<tr>
  <th>One</th>
  <td>A-1</td>
  <td/>
  <td>C-1</td>
</tr row="2a>
<tr>
  <th>Two</th>
  <td>A-2</td>
  <td>B-2</td>
  <td>C-2</td>
</tr row="3a">
</table table="a">
<table style="border:1px solid gray">
<caption>Using &lt;th&gt;&lt;/th&gt; and &lt;td&gt;&lt;/td&gt;</caption>
<tr>
  <th></th>
  <th>Alpha</th>
  <th>Beta</th>
  <th>Gamma</th>
</tr row="1b">
<tr>
  <th>One</th>
  <td>A-1</td>
  <td></td>
  <td>C-1</td>
</tr row="2b>
<tr>
  <th>Two</th>
  <td>A-2</td>
  <td>B-2</td>
  <td>C-2</td>
</tr row="3b">
</table table="b">

Latest revision as of 14:44, 24 December 2006

There's a major break down in parsing html tables, in particular the </tr> and </table> end tags are no longer getting recognized. See http://kb.mozillazine.org/Calendaring_Extensions_Index_%28Sunbird%2C_Lightning%2C_CalExt%29 This table was working fine recently, so it may be due to a wiki change/upgrade. Gc 16:10, 23 December 2006 (UTC)

After some more experimenting, it looks like maybe empty XHTML tags such as or are no longer being recognized as closed, so a workaround may be to change into . Gc 14:44, 24 December 2006 (UTC)

Using <th/> and <td/>
Alpha Beta Gamma
One A-1 C-1
Two A-2 B-2 C-2
Using <th></th> and <td></td>
Alpha Beta Gamma
One A-1 C-1
Two A-2 B-2 C-2