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

priority for matching templates not correct

           Summary: priority for matching templates not correct
           Product: XalanJ2
           Version: 2.3
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Xalan-CmdLine
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


In the xslt stylesheet, the priority determination for matching templates is 
not OK. See the example below:

<xsl:template match="entry/ptxt">
  ...
</xsl:template>
        
<xsl:template match="thead/row/entry/ptxt">
  ...
</xsl:template>

when the templates are in the stylesheet in the order as above, then everything 
works fine. However when I swith the order of the two templates, always the 
template with match='entry/ptxt' is used. Even in the xml 
structure 'thead/row/entry/ptxt'.

Reply via email to