Bugs item #1763495, was opened at 2007-07-30 12:44
Message generated for change (Comment added) made by sjoerd
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1763495&group_id=56967
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: PF/runtime
Group: Pathfinder 0.18
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Wouter Alink (vzzzbx)
Assigned to: Nobody/Anonymous (nobody)
Summary: XQ: illegal offsets in swizzle (2)
Initial Comment:
(today's nightly build from the stable branch, which includes sjoerd's recent
fix for a similar problem)
given the attached script, the error:
!ERROR: [swizzle]: tmp_2750 contains illegal offsets
is returned.
the gzipped version of the attached script including source docs is too large
for sourceforge (>256kb). i've mailed it to sjoerd.
----------------------------------------------------------------------
>Comment By: Sjoerd Mullender (sjoerd)
Date: 2007-07-31 17:35
Message:
Logged In: YES
user_id=43607
Originator: NO
The reason for the [swizzle] failing seems to be that the last document
that is used in scenario.xq, xiraf32017.xml, internally known as
prepared32015.data, in the very first <item> already, has nid="31351", a
NID which does not occur in the wrappers.xml document.
When you use the id() function, you have to be very careful.
For now I would call this a Pilot Error.
----------------------------------------------------------------------
Comment By: Sjoerd Mullender (sjoerd)
Date: 2007-07-31 09:18
Message:
Logged In: YES
user_id=43607
Originator: NO
That's indeed how it starts. But after that it has a newline and
<device type="unknown" name="pc01"><image type="LocalFolder"
location="/scratch/
weka-3-4-10" xstart="0" xend="31417045">
----------------------------------------------------------------------
Comment By: Wouter Alink (vzzzbx)
Date: 2007-07-31 08:21
Message:
Logged In: YES
user_id=621590
Originator: YES
sorry, my fault. i might have given the wrong initial document (it looks
like it was the document after the updates instead of before the updates).
document xiraf31973 should read:
<?xml version="1.0" encoding="utf-8"?>
<XIRAF version="TEST-VERSION" timestamp="Mon Jul 30 11:04:39 CEST 2007"
revision="TEST"/>
----------------------------------------------------------------------
Comment By: Sjoerd Mullender (sjoerd)
Date: 2007-07-30 16:49
Message:
Logged In: YES
user_id=43607
Originator: NO
Hmm, maybe the input you sent me is not correct:
The first insert query inserts a node <device name="pc01" type="unknown"/>
into the document. Then the next insert query inserts into
doc("wrappers.xml")/XIRAF/[EMAIL PROTECTED]"pc01"] . I get an error there
because the original document already contained such a node, and the first
insert inserted another such node, so now there are two that match.
----------------------------------------------------------------------
Comment By: Sjoerd Mullender (sjoerd)
Date: 2007-07-30 16:36
Message:
Logged In: YES
user_id=43607
Originator: NO
Sorry, I hadn't seen the attachment. I've got it now.
----------------------------------------------------------------------
Comment By: Wouter Alink (vzzzbx)
Date: 2007-07-30 16:27
Message:
Logged In: YES
user_id=621590
Originator: YES
the subject reads 'swizzle 2', and you already replied to it on 12:37
local time.
----------------------------------------------------------------------
Comment By: Sjoerd Mullender (sjoerd)
Date: 2007-07-30 15:16
Message:
Logged In: YES
user_id=43607
Originator: NO
I haven't seen that promised mail...
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1763495&group_id=56967
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs