W3C home > Mailing lists > Public > www-style@w3.org > April 2000

Grammatical ambiguity in namespaces draft

From: L. David Baron <dbaron@fas.harvard.edu>
Date: Sat, 8 Apr 2000 22:26:58 -0400 (EDT)
Message-Id: <200004090226.WAA19873@is01.fas.harvard.edu>
To: www-style@w3.org
The working draft on namespaces in CSS [1] extends attribute selectors
by allowing namespace qualifiers on attribute names, separated by '|'.
This creates an ambiguity that I think (?) does not exist elsewhere in
the CSS grammar.  Once a CSS parser has parsed a selector up to

[ident|

it isn't yet clear whether a hyphen-separated attribute selector or an
attribute with a namespace is being parsed.  The selector could be one
of (among others):

[ident|ident="value"]
[ident|="value"]

Is this a bad thing?

-David

[1] http://www.w3.org/TR/css3-namespace/

L. David Baron    Sophomore, Harvard (Physics)    dbaron@fas.harvard.edu
Links, SatPix, CSS, etc.     <URL: http://www.fas.harvard.edu/~dbaron/ >
WSP CSS AC                      <URL: http://www.webstandards.org/css/ >
Received on Saturday, 8 April 2000 22:26:59 GMT

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