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

sum() fails on result tree fragment

           Summary: sum() fails on result tree fragment
           Product: XalanJ2
           Version: CurrentCVS
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Xalan
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I can't get the following fragment to work:

  <xsl:variable name="values">
    <value>1</value>
    <value>1</value>
    <value>1</value>
  </xsl:variable>

  <xsl:value-of select="sum($values/value)"/>

I'm not sure if this is due to the fact that only limited operations are allowed
on a result tree fragment, or if it is actually a bug according to the XSLT 1.0
spec.

Reply via email to