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

Re: p:label-elements builtin

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Thu, 06 Sep 2007 13:44:22 +0100
To: Norman Walsh <ndw@nwalsh.com>
Cc: public-xml-processing-model-wg@w3.org
Message-ID: <f5b8x7khsk9.fsf@hildegard.inf.ed.ac.uk>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Norman Walsh writes:


>   <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?

Yes.  Like I said, if you are using this step twice in a pipeline, use
the prefix or suffix option to protect yourself.  You will need to
anyway, if you want _guarantee_ no collisions.

ht
- -- 
 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]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFG3/YmkjnJixAXWBoRAj4bAJ0cf1DCdN/5s8FLgt4S+AA8Tf0L8QCeIUFc
ThSS87hQjs2PXuWgBwu4Txo=
=WzZy
-----END PGP SIGNATURE-----
Received on Thursday, 6 September 2007 12:45:09 GMT

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