Illegal html in sample.

Found small bug!



PAGE: 
http://www.w3.org/TR/2004/REC-xml-names11-20040204/

SECTION: 
6.2 Namespace Defaulting

BLOCK IN WHICH ERROR RESIDES IN:

<?xml version='1.1'?>
<Beers>
  <!-- the default namespace inside tables is that of HTML -->
  <table xmlns='http://www.w3.org/1999/xhtml'>
   <th><td>Name</td><td>Origin</td><td>Description</td></th>
   <tr> 
     <!-- no default namespace inside table cells -->
     <td><brandName xmlns="">Huntsman</brandName></td>
     <td><origin xmlns="">Bath, UK</origin></td>
     <td>
       <details xmlns=""><class>Bitter</class><hop>Fuggles</hop>
         <pro>Wonderful hop, light alcohol, good summer beer</pro>
         <con>Fragile; excessive variance pub to pub</con>
         </details>
        </td>
      </tr>
    </table>
  </Beers>



ERROR ITSELF:

IS:
<th><td>Name</td><td>Origin</td><td>Description</td></th>

SHOULD BE:
<tr><th>Name</th><th>Origin</th><th>Description</th></tr>



Hope I've done something good... ;-)


´__
avalik.sokrates ( cat ) hot.ee

Received on Tuesday, 28 September 2004 09:14:25 UTC