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.:


     <div id="myGallery">

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

             <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"/>

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
Received on Monday, 22 March 2010 18:59:05 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:45:13 UTC