[Top] [All Lists]

[xsl] Bug in XT

2006-11-13 10:50:52
Hi all,

I was having problems using multiple key elements with the same name in
XT, which I eventually tracked to a processor bug.
The following lines were the two causing problems:

<xsl:key name="artifact_id-all_actions"
match="/BC//ARTIFACT/ACTIONS/ACTION" use="../../@id"/>
<xsl:key name="artifact_id-all_actions" match="/BC/HEAD/ACTIONS/ACTION"

I was unable to determine exactly what XT was doing in this case, but it
appeared to be using the first key declaration only.
I can't say if XT was simply mis-handling multiple key elements or if a
constant in the 'use' attribute is breaking it, but I suspect the former.
I worked around the problem by using a variable for the second case
(which didn't really need a key anyway).

        # r

Ronan Klyne
Business Collaborator Developer
Tel: +44 (0)870 163 2555

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>

<Prev in Thread] Current Thread [Next in Thread>
  • [xsl] Bug in XT, Ronan Klyne <=