Bugs item #2038906, was opened at 2008-08-05 15:42
Message generated for change (Comment added) made by hrode
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2038906&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.24
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Henning Rode (hrode)
Assigned to: Nobody/Anonymous (nobody)
Summary: XML attribute generation

Initial Comment:
the following xquery constantly fails on my system.

xquery:

let $rscs := doc("c.xml")//resource
for $c in $rscs//concept
return <concept score="{$c//score/text()}">{$c/text()}</concept>


output:
.
.
.
<concept score="0.0844787">sports</concept>,
<concept score="0.0836574">face</concept>,
<concept score="0.032173">soccer</concept>,
<concept score="0.021382">grass</concept>,
<concept!ERROR: XML Generation: tmp_6313 BAT does not have a 73530 head.
MAPI  = [EMAIL PROTECTED]:50000
QUERY = let $rscs := doc("/export/scratch0/henning/c.xml")//resource
ERROR = !ERROR:
        !ERROR: XML Generation: NULL BAT has a 73530 head, but tail is NULL.
        !ERROR:
        !ERROR: xquery_print_result_main: operation failed.

strange enough, it works fine on smaller instances of c.xml (if i only use half 
of the data for instance). the complete document c.xml is about 16MB (1MB 
compressed) and i can provide it for testing.




----------------------------------------------------------------------

>Comment By: Henning Rode (hrode)
Date: 2008-08-05 16:25

Message:
Logged In: YES 
user_id=909189
Originator: YES

yes, I tested the MPS back-end as well, and also there it works fine.

----------------------------------------------------------------------

Comment By: Stefan Manegold (stmane)
Date: 2008-08-05 16:17

Message:
Logged In: YES 
user_id=572415
Originator: NO

Assuming that you used the (default) "Algebra" back-end, did you by any
chance also try the (old) "milprint_summer" back-end?
If so, what was the effect?
If not, could you please try (simply run your query with `mclient -lx
-g`), and report on the effect?


----------------------------------------------------------------------

Comment By: Henning Rode (hrode)
Date: 2008-08-05 15:47

Message:
Logged In: YES 
user_id=909189
Originator: YES

I tested also to remove either the score attribute construction or the
element content construction. In both cases the error does *not* occur.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2038906&group_id=56967

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to