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

Re: p:label-elements builtin

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 06 Sep 2007 08:17:09 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2myw0ugxm.fsf@nwalsh.com>
/ ht@inf.ed.ac.uk (Henry S. Thompson) was heard to say:
| Prefer: Sequential numbers.
| Live with: A boolean option, default false, if true means 'best
| efforts' to be unique (i.e. as per XSLT), but _no_ guarantee/no
| checking.
|
| I can't live with uniqueness guarantees (full or partial) -- I want to
| use this for keys, not for IDs.

So labelling this document:

  <doc>
    <para/>
    <para xml:id="_2"/>
  </doc>

would silently produce

  <doc xml:id="_1">
    <para xml:id="_2"/>
    <para xml:id="_2"/>
  </doc>

and that would be ok?

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | We think in generalities, but we live
http://nwalsh.com/            | in detail--Alfred North Whitehead

Received on Thursday, 6 September 2007 12:17:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:54 GMT