What Characters Are Allowed in IDs?

Is a forwardslash "/" an allowed part of a CSS2 IDENT? For example:-

     .a/bc { font-weight: bold; }

or does it have to be escaped as in:-

     .a\/bc { font-weight: bold; }

Furthermore, is there any difference in the way the two above are
parsed / processed / treated?

I can't make head nor tail of the specification on this one: it seems
to allow UTF characters up to 161, but I know for a fact that ":" must
be escaped... so I'm not too sure. My guess is that it must be
escaped.

--
Kindest Regards,
Sean B. Palmer
@prefix : <http://webns.net/roughterms/> .
[ :name "Sean B. Palmer" ] :hasHomepage <http://infomesh.net/sbp/> .

Received on Sunday, 25 February 2001 22:57:30 UTC