W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2004

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

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Sat, 28 Aug 2004 19:58:24 +0200
Message-ID: <4130C7C0.7070407@annevankesteren.nl>
>>> In any case, "[" and "]" are now valid in IDs according to the
>>> WF2 SGML declaration, apparently:
>>> http://syntax.whatwg.org/sgml/html5core+wf2/pre1/declaration
>>> 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 w3.org 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
Received on Saturday, 28 August 2004 10:58:24 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:36 UTC