W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > September 2007

p:label-elements builtin

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Mon, 03 Sep 2007 16:30:54 +0100
To: public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>
Message-ID: <f5b1wdfsr4h.fsf@hildegard.inf.ed.ac.uk>

Hash: SHA1

Some small changes would make this a _much_ more useful step:

 1) Add an 'attribute' option, default value 'xml:id';
 2) Generate sequential integers, and default the 'prefix' option to
 3) Remove the 'must detect duplicates' error.

That way, I can use this to generate XSDL-style keys, or keys for
stylesheets, etc., and people who don't want to be constrained to
NCNames don't have to be.

Removing the error is much less of a big deal than it might at first
appear -- in its current form it doesn't guarantee no duplicates, and
people using this to fill gaps in a set of partially-labelled
documents will expect to use a prefix and/or suffix to avoid

I request discussion on this to be limited to 5 minutes, followed by
an up/down vote.

- -- 
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                     Half-time member of W3C Team
    2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
            Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
Version: GnuPG v1.2.6 (GNU/Linux)

Received on Monday, 3 September 2007 15:31:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:44 UTC