W3C home > Mailing lists > Public > public-html@w3.org > March 2010

Re: Possible Conservative Proposal : no prefixes, but allow xmlns on a root element

From: Philip Taylor <pjt47@cam.ac.uk>
Date: Mon, 22 Mar 2010 18:58:35 +0000
Message-ID: <4BA7BDDB.6010306@cam.ac.uk>
To: "Ennals, Robert" <robert.ennals@intel.com>
CC: "public-html@w3.org WG" <public-html@w3.org>, "Carr, Wayne" <wayne.carr@intel.com>
Ennals, Robert wrote:
> [...]
> *         If the browser encounters an unknown element with a default
> namespace declaration, then it should apply that namespace to all
> descendent nodes.

This looks like it will break content. E.g.:

   http://www.zapster.it/biografia/Suzy-Kendall/filmografia

     <div id="myGallery">

         <playlist version="1" xmlns="http://xspf.org/ns/0/">
         <trackList>

             <div class="imageElement">
                 <p>clicca per vedere tutti i poster</p>
                 <a href="..." title="Ingrandisci" class="open"></a>
                 <img src="..." class="full" alt="Suzy Kendall"/>
                 <img src="..." class="thumbnail" alt="Suzy Kendall"/>
             </div>
             ...

If the <playlist xmlns> causes the descendants to have the 
http://xspf.org/ns/0/ namespace instead of the HTML namespace, then they 
will no longer be rendered correctly as HTML links and images.

-- 
Philip Taylor
pjt47@cam.ac.uk
Received on Monday, 22 March 2010 18:59:05 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:59 UTC