Re: Using xpath "some $var in (...) satisfies (...)" bug with Calabash ?

Thanks Yves and Andrew,

I found the same explanation with xpath sequence comparaison in R. 
Castello XPATH-2 PPT :

    (item1, item2) op (item3, item4)
    is evaluated as:
    (item1 op item3) or (item1 op item4) or (item2 op item3) or (item2 
op item4)

         (1, 2) = (2, 3)
         is evaluated as:
         (1 = 2) or (1 = 3) or *(2 =2)* or (2 = 3)
         this it returns true

I unfortunately didn't have yet the time to look at support of "some" 
with saxon9he, I'm sure it works because I often use it but maybe there 
is some special case where it don't work... I'll have a closer look as 
soon as possible.

Sorry if all this finally don't have directly to do with xproc...

Regards,
Matthieu
Le 28/08/2012 13:16, Andrew Welch a écrit :
> On 28 August 2012 12:10, Yves Forkl <Y.Forkl@srz.de> wrote:
>> Am 27.08.2012 18:14, schrieb Matthieu Ricaud-Dussarget:
>>> (Is a sequence equal to another if one of his item is the same ? But this is an XPath question, I'll have a look in the spec.)
>> This very useful XPath 2.0 feature is called "general comparison", see
>> http://www.w3.org/TR/xpath20/#id-general-comparisons
> some more information here:
>
> http://ajwelch.blogspot.co.uk/2007/08/when-b-and-b-both-return-true.html
>
>


-- 
Matthieu Ricaud
05 45 37 08 90
IGS-CP, service livres numériques

Received on Wednesday, 29 August 2012 08:29:01 UTC