W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2006

[whatwg] id and xml:id

From: Henri Sivonen <hsivonen@iki.fi>
Date: Tue, 4 Apr 2006 11:02:12 +0300
Message-ID: <AF0911EB-CB88-4EC4-8509-D1674CC8C9B5@iki.fi>
On Apr 3, 2006, at 18:37, Henri Sivonen wrote:

> It appear that enabling ID/IDREF checking wreaks havoc with schemas  
> that have not been written with this in mind.
>
> I have not yet assessed the extent of the damage, but it could turn  
> out that ID/IDREF checking needs to go in a separate schema like  
> exclusions.

I have now assessed the damage. It is not as bad as it looked like. :-)

Despite a flood of error messages, there were only three causes:
1) Can't have wild card attributes on wild card elements in the wild  
card content models of the script and style elements. (Not a big  
deal. It is reasonable to restrict them to known style and script  
languages.)

2) Jing complains about the IDREFness altering co-occurrence  
constraint between valuetype and value on the param element.

3) It appears that in RELAX NG an attribute can't be allowed to take  
the empty string if the attribute has the IDREFS nature. This is a  
problem with the form attribute.
See: http://groups.yahoo.com/group/rng-users/message/422

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/
Received on Tuesday, 4 April 2006 01:02:12 UTC

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