Re: I18n comment: xml and namespaces version

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 UTC