xsl-list
[Top] [All Lists]

Re: [xsl] question about generate-id()

2010-08-05 01:49:54
On Wed, 04 Aug 2010 18:18:40 -0400
"G. Ken Holman" <gkholman(_at_)CraneSoftwrights(_dot_)com> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--