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/04/26 00:08:20 UTC
DO NOT REPLY [Bug 7854] -
runtime error on template match="//B//X"
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=7854>.
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=7854
runtime error on template match="//B//X"
tom.amiro@sun.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|xsltc error on conf test |runtime error on template
|match29 |match="//B//X"
------- Additional Comments From tom.amiro@sun.com 2002-04-25 22:08 -------
I simplified the stylesheet as much as possible while still causing the
bug. Here the simplified version:
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" encoding="UTF-8" />
<xsl:template match="/">
<out>
<xsl:text> </xsl:text>
<xsl:apply-templates select="//X" />
<xsl:text> </xsl:text>
</out>
</xsl:template>
<xsl:template match="//B//X">
<found-X><xsl:copy-of select="@level"/></found-X>
</xsl:template>
</xsl:stylesheet>