qexo-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qexo-general] sequences and xml children


From: Francois Leygues
Subject: Re: [Qexo-general] sequences and xml children
Date: Sat, 28 Jun 2003 08:57:34 +1000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624

Per Bothner wrote:

fl wrote:

define function x(){<a><b x="1"/></a>}

let $x:=<a>{for $b in x()/b return $b}</a> return $x/b
does not return anything !


I checked in the attached patch. There is another hader-to-fix bug, but I think this patches works around it - and I think it makes sense anyway.

Please do submit bug reports, or questions is you're sure, but are puzzled!

1) This is ok.

2) Following the recommandation, I thus dare to say that the second test still fails:

define function x(){<a><b x="1"/></a>}
let $x:=<a>{for $b in x()/b return $b}</a> return $x/b/@x

does not returns anything

Note that on http://relimo.darmstadt.gmd.de/ ,
this thing produces a null pointer exception...

3) long live Qexo!







reply via email to

[Prev in Thread] Current Thread [Next in Thread]