That's kind of what I meant to say.
From my understanding, the CDATA rules apply if you are serving XHTML
as application/xhtml+xml. If you are serving as text/html it is
implied you are being backwards compatible, so you should go by the
HTML4 rules where only A-z,0-9,._- characters are allowed.
Anyway I was just being picky. Everybody uses { in class attributes
for metadata already, and most browsers (even the ones that don't
support XHTML as application/xml) don't have a problem with that, I
don't know how far down the chain that becomes a problem (IE5?).
http://www.w3.org/TR/xhtml1/#C_8What I really wanted to say is 'why are these lunatics putting
brackets in IDs/names? there are plenty of unused/unmeaningful
characters to choose' ;)
- ricardo