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=20724>. 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=20724 copy-of those an exception in DTM when variable has an empty node set Summary: copy-of those an exception in DTM when variable has an empty node set Product: XalanJ2 Version: 2.5 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: org.apache.xalan.xsltc AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] <xsl:variable name="x" select="/*/Node"/> <xsl:element name="test"> <!-- Copy attributes. The following xsl:copy-of fails if $x is empty. -- > <xsl:copy-of select="$x/@*"/> <!-- workaround: <xsl:for-each select="$x"> <xsl:copy-of select="@*"/> </xsl:for-each> --> </xsl:element>
