dom/xslt/crashtests/528963.xml
author Xidorn Quan <me@upsuper.org>
Wed, 13 Jul 2016 09:01:25 +1000
changeset 305792 875e441f8b804adaf67ad704171c8b2f04015499
parent 162355 67ff9392766b53c51bb876b5f74e5e6602347668
permissions -rw-r--r--
Bug 1286089 - Ensure servo can be linked properly for different compilers. r=glandium MozReview-Commit-ID: 71NofEtZx6B

<?xml version="1.0"?>
<?xml-stylesheet type="text/xml" href="#bug"?>
<!DOCTYPE doc [
<!ATTLIST xsl:transform
  id	ID	#REQUIRED>
]>
<doc>
  <xsl:transform 
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version="2.0"
    id="bug">
    <xsl:key name="k0" match="e2" use="name('foo')" /> 

    <xsl:template name="t1" match="/">
      <xsl:element name="e2" namespace="{//doc}" />
    </xsl:template>
    <xsl:template name="t2" match="key('k0', 'bar')" />
  </xsl:transform>
  
  <e2/>
  
</doc>