W3C home > Mailing lists > Public > xml-names-editor@w3.org > September 2004

Illegal html in sample.

From: Sokrates <avalik.sokrSaPtAeMs@hot.ee>
Date: Mon, 27 Sep 2004 15:47:25 +0000
To: xml-names-editor@w3.org
Message-Id: <20040927184419.BBB1.AVALIK.SOKRSAPTAEMS@hot.ee>





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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:44 GMT