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

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

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 17 Aug 2004 16:59:17 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0408171656380.16813@dhalsim.dreamhost.com>
On Thu, 15 Jul 2004, Terje Bless wrote:
>>On Sun, 11 Jul 2004, Andrew Clover wrote:
>>>
>>> 4. Square brackets are still pretty bad. You can't have them in an 
>>> attribute of type ID
>>
>> You can, you just can't have them there if you have a DTD and a 
>> validating parser.
> 
> Without a DTD and a validating parser, the concept of an undefined 
> attribute on an undefined element having an undefined type pretty much 
> allows you to do whatever UA vendors happen to have implemented, yes.

The attribute, element, and type are all defined. Just because they are 
defined by prose instead of by DTD doesn't mean that anything is any less 
defined. If anything, it's more defined, since, as I keep pointing out, 
DTDs are unable to describe most of the conformance criteria here.

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.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 17 August 2004 09:59:17 UTC

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