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=26698>.
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=26698

Attribute value template throws RuntimeException





------- Additional Comments From [EMAIL PROTECTED]  2004-02-05 22:57 -------
Henry Zongaro points out a slightly different testcase:
-----------------------------------------------------------
<xsl:stylesheet version="1.0"
  xmlns:foo="bar"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
<xsl:param name="par" select="'foo:abc'" />
<xsl:template match="/">
  <out>
    <xsl:call-template name='sub'/>
  </out>
</xsl:template>

<xsl:template name="sub" xmlns:foo="bloop">
  <xsl:element name="{$par}">test</xsl:element>
</xsl:template>
</xsl:stylesheet>
-----------------------------------------------------------

The output from XSLTC with the above patch is
<?xml version="1.0" encoding="UTF-8"?>
<out xmlns:foo="bar"><foo:abc>test</foo:abc></out>

The error is that The "foo" prefix for element <foo:abc> in the
serialized output is pointing to URI "bar" rather than URI "bloop"

Reply via email to