IDs [was: Re: [whatwg] Re: WEB_FORMS 2.0 comment, repetition model, using reserved macro scripting syntax]

Anne van Kesteren fora at
Sat Aug 28 10:58:24 PDT 2004

>>> In any case, "[" and "]" are now valid in IDs according to the
>>> WF2 SGML declaration, apparently:
>>> Doesn't help in XML, but in XML DTDs aren't needed at all anyway,
>>> so the point is largely moot.
>> Maybe xml-editor at could be mailed to address this issue? If
>> they accept it as a valid issue 'xs:ID' will eventually change,
>> right?
> What exactly would the issue be? "Not enough characters are valid in
> IDs"? I suppose someone could raise that, but I doubt that changing
> XML syntax (this would require revving XML) will be very popular.

It probably has to be changed, otherwise it might be rejected be the 
browser. Example[1]:

   <html id="[test]">

Now I see this I'm not even sure if it is backwards compatible enough.


  Anne van Kesteren

More information about the whatwg mailing list