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

           Summary: xsl:sort does not work with key() in xsl:apply-templates
           Product: XalanJ2
           Version: CurrentCVS
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


if a xsl:key is selected in <xsl:apply-templates> and the <xsl:sort> element is
used to sort the result it seems that no templates are applied.

Test files follow...

if i leave out the key() function or the sort element the example work. They
also work as expexted with xalan-j 2.1.0.

Expected output is:

<?xml version="1.0" encoding="UTF-8"?>
<test><name>First</name><name>Second</name></test>

But I get only an empty <test> element.

- Peter

Reply via email to