[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qexo-general] Parent Navigation
From: |
Per Bothner |
Subject: |
Re: [Qexo-general] Parent Navigation |
Date: |
Sat, 29 Nov 2003 17:01:47 -0800 |
User-agent: |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5) Gecko/20031007 |
Sascha Opletal wrote:
The line
{$a/../@d}
Gives the following error:
java.lang.ArrayIndexOutOfBoundsException: 2146304153
at gnu.lists.TreeList.getNextKind(TreeList.java:1229)
That is certainly a bug in Kawa. (Even if the query is wrong,
it shouldn't give you that exception.) If you could create a
self-contained test-case and submit it to the kawa bugzilla
(see http://www.gnu.org/software/kawa/Mailing-lists.html)
I'll look into when I get a chance.
How do i access the other attribute which is parallel to the first,
without changing the for-loop?
What is wrong with changing the for-loop?
for $b in doc("data2.xml")/a/address@hidden
let $a in $b/@c
return
<result>
{$a}
{$b/@d} </result>
The address@hidden is only needed if you need to exclude b elements
that don't have a c attribute.
--
--Per Bothner
address@hidden http://per.bothner.com/