This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Differences between Saxon, XT and Xalan: testing an attribute value


> It looks like the template matching 
> "Field[@No='606']/Subfield[@No='x']" is never fired.

Known error in Saxon 5.2
    5.2/013
    In a Location Path Pattern such as A[@a=1]/B, where there is a boolean
predicate on a
    component other than the last, the predicate is evaluated with the wrong
node as context
    node, and may therefore give the wrong result. 

Circumvention, write Field/Subfield[..[@No='606'] and @No='x']

Sorry about that, will be fixed in next version.

Saxon known errors are published on the saxon mailing list
(saxon.xsl.listbot.com)

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]