Grammatical ambiguity in namespaces draft

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 UTC