1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/xslt/crashtests/485286.xml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,12 @@ 1.4 +<?xml-stylesheet type="application/xml" href="485286.xml"?> 1.5 +<transform xmlns="http://www.w3.org/1999/XSL/Transform" version="1.0"> 1.6 + <variable name="v"> 1.7 + <for-each select="/"> 1.8 + <value-of select="count(1)"/> 1.9 + </for-each> 1.10 + </variable> 1.11 + <key name="k" match="/" use="$v"/> 1.12 + <template match="/"> 1.13 + <value-of select="key('k', /..)"/> 1.14 + </template> 1.15 +</transform>