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 2001/09/12 10:03:55 UTC

[DO NOT REPLY: Bug 1532] problems with /*[] in steps, also [1] and position()=1 not equivalent

PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1532

*** shadow/1532	Tue Jun 26 13:16:15 2001
--- shadow/1532.tmp.11939	Wed Sep 12 01:03:55 2001
***************
*** 7,13 ****
  |     Severity: Normal                   OS/Version: Solaris                 |
  |     Priority: High                      Component: org.apache.xalan.xsltc  |
  +----------------------------------------------------------------------------+
! |  Assigned To: xalan-dev@xml.apache.org                                     |
  |  Reported By: tamiro@east.sun.com                                          |
  |      CC list: Cc:                                                          |
  +----------------------------------------------------------------------------+
--- 7,13 ----
  |     Severity: Normal                   OS/Version: Solaris                 |
  |     Priority: High                      Component: org.apache.xalan.xsltc  |
  +----------------------------------------------------------------------------+
! |  Assigned To: morten@xml.apache.org                                        |
  |  Reported By: tamiro@east.sun.com                                          |
  |      CC list: Cc:                                                          |
  +----------------------------------------------------------------------------+
***************
*** 145,148 ****
  </TOP>
  
  ------- Additional Comments From tamiro@east.sun.com  2001-06-26 13:16 -------
! I retested this and nothing has changed, this is still a bug!
--- 145,162 ----
  </TOP>
  
  ------- Additional Comments From tamiro@east.sun.com  2001-06-26 13:16 -------
! I retested this and nothing has changed, this is still a bug!
! 
! ------- Additional Comments From morten.jorgensen@ireland.sun.com  2001-09-12 01:03 -------
! This problem with predicates (of any kind, not just positions) occurs only when
! predicates are used in match patterns. The stylesheet produces the correct
! output if the predicate is used within an expression:
! 
! <?xml version="1.0"?> 
! <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
! <xsl:output encoding="utf-8"/>
! <xsl:template match="top">
!     <A><xsl:value-of select="./*[1]"/></A>
! </xsl:template>
! <xsl:template match="text()|@*" />    
! </xsl:stylesheet>