W3C home > Mailing lists > Public > www-style@w3.org > January 2006

Re: I18n comment: xml and namespaces version

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 23 Jan 2006 22:02:25 -0800
To: Felix Sasaki <fsasaki@w3.org>
Cc: Bjoern Hoehrmann <derhoermi@gmx.net>, www-style@w3.org, public-i18n-core@w3.org
Message-ID: <20060124060225.GA23419@ridley.dbaron.org>
On Tuesday 2006-01-24 14:19 +0900, Felix Sasaki wrote:
> Example for XHTML:
> <?xml version="1.0" ...?>
> <html>
> <head> ...
> <style type="text/css">
> <!--
> @namespace foo url(XXX);
>  foo|h1 { color: blue }
> /* ... ... */
> -->
> </style>
> </head>...
> </html>
> This is an error if "XXX" contains characters which are not part of the  
> NCName production in XML 1.0.

I don't see why you're referring to NCName here -- that's used for
attribute names in XML, not attribute values.

But even if you did do something that was an error in XML but not an
error in CSS, you'd just end up with the result that nothing would be
matched since no document could have that namespace (or whatever).  I
don't see why that's a problem -- it's completely interoperable behavior.

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation

Received on Tuesday, 24 January 2006 06:02:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:42 GMT