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/04 10:25:09 UTC

DO NOT REPLY [Bug 14222] - xsl:for-each loop generates wrong namespace declarations

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

xsl:for-each loop generates wrong namespace declarations





------- Additional Comments From arun.yadav@sun.com  2002-12-04 09:25 -------
Processor  will try reslove  namespace location path [root/myNameSpace] in
context of xsl-for-each location path [root/list/listelem] unsucessfully and
results in  empty string. 
Change the  <xsl:element name="elementError"
namespace="{normalize-space(root/myNameSpace)}">bar</xsl:element>
 from
  <xsl:element name="elementError"
namespace="{normalize-space(/root/myNameSpace)}">bar</xsl:element> 
                           ***                                
to get your output.