Subject: Re: question about generate-id()
From: Dave Pawson <davep@xxxxxxxxxxxxx>
Date: Thu, 5 Aug 2010 07:49:38 +0100
|
On Wed, 04 Aug 2010 18:18:40 -0400
"G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> wrote:
> The uniqueness of identifiers is guaranteed only when generate-id()
> is used for every identifier. This makes sense because generate-id()
> has no way of knowing which of your attributes are identifiers and
> which are not.
Not even when the 'id' values are @id? That sounds wrong Ken.
16.6.4
There is no guarantee that a generated unique identifier will be
distinct from any unique IDs specified in the source document.
Yuk. IMHO that's a spec weakness. More constrained, surely
it's not rocket science to implement.
Tks Ken.
--
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
|