You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/12/19 14:23:57 UTC

DO NOT REPLY [Bug 15527] - multiple key definitions (same name) do not work as expected on longer strings

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15527>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15527

multiple key definitions (same name) do not work as expected on longer strings





------- Additional Comments From joerg.heinicke@gmx.de  2002-12-19 13:23 -------
A work-around is the change of the key definition from the multiple one to a
single one unioning the elements in match attribute and the attributes in use
attribute:

<xsl:key name="JPathExprs"
         match="jpath:if | jpath:when | jpath:for-each | jpath:value-of"
         use="concat(@test, @select)"/>

Now the generate-id() and count return correct values.