Subject: Re: [xsl] Fundimentle Predicate Problem or Bug?? From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 17 Sep 2008 15:02:08 +0100 |
There is no bug. Ignoring the partd of the xpath that are working as you expect, you apparently expect Race/RaceType >= 'R' and Race/RaceType <= 'R' to evaluate to false in this case. However that is true if there is a Race/RaceType >= 'R' which there is, namely <RaceType>S</RaceType> and if there is a Race/RaceType <= 'R' which there is namely <RaceType>H</RaceType> so it evaluates to true. I'm not sure why you expected it to evaluate to false, so difficult to know what other help to suggest. Perhaps you wanted both clauses to apply to the same RaceType element but that should be encoded Race/RaceType[. >= 'R' and . <= 'R'] David ________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Fundimentle Predicate Pro, Ronan Klyne | Thread | Re: [xsl] Fundimentle Predicate Pro, Florent Georges |
Re: [xsl] Fundimentle Predicate Pro, Ronan Klyne | Date | Re: [xsl] Fundimentle Predicate Pro, Martin Honnen |
Month |