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

Subject: RE: Differences between Saxon, XT and Xalan: testing an attribute value
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Wed, 29 Mar 2000 18:28:54 +0100
> 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


Current Thread