"Michael Winter" <M.******@blueyonder.co.uk.invalid> wrote in message
news:Xn******************************@193.38.113.4 6...
Lasse Reichstein Nielsen wrote on 20 Nov 2003:
<URL:http://jibbering.com/faq/#FAQ4_39>
might help you.
It will almost. It doesn't say in the FAQ that square
brackets are illegal characters in control names. The
original poster should see my reply in his earlier thread
(also started today).
It turned out that square brackets are legal characters in the strings
provided as values to name attributes. The restrictions you mentioned in
that post do apply to ID attributes but not name (which are just CDATA).
Prior to the discussion of legal characters in name attribute strings I
also believed that those additional restrictions applied to name
attributes as well as IDs. But cross referencing the fragment
identifiers on the links used in (HTML versions of) the DTDs with the
fragment identifiers used within the UL/LI element/s used in the "SGML
basic types" sections of "types.html" in HTML specifications at the W3C
made it clear that NAME and ID "tokens" are distinct from CDATA.
Richard.