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 18:07:04 +0300
Message-ID: <1D66B506-6F8C-4086-A51D-9BA508E557C1@iki.fi>
On Apr 3, 2006, at 18:37, Henri Sivonen wrote:

> I spent quite a while today verifying (by implementing a more  
> permissive ID datatype library) that James Clark's Jing agrees with  
> my reading of the spec.

In case anyone is interested in playing with it, the datatype library  
(with source; MIT/expat license) is available from
http://hsivonen.iki.fi/test/permissive-ids.jar

The namespace is
http://hsivonen.iki.fi/datatype/permissive-id

The local names are ID, IDREF and IDREFS.

The jar is deployable by simply putting it in the CLASSPATH, but  
beware of the -jar switch which ignores the external CLASSPATH.

(Disclaimer: The datatype library is designed for diagnosing how a  
RELAX NG implementation works. It should not be used without  
modification in a production system. It prints to System.out and  
probably has slightly broken equality testing behavior.)

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/
Received on Tuesday, 4 April 2006 08:07:04 UTC

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