Bugs item #1537500, was opened at 2006-08-09 18:21
Message generated for change (Comment added) made by sjoerd
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1537500&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/compiler
Group: Pathfinder CVS Head
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Torsten Grust (teggy)
>Assigned to: Jan Rittinger (tsheyar)
Summary: PF/algebra: bogus text() location step break MIL generation
Initial Comment:
Hi all,
the (bogus) query
doc("foo.xml")/@a/text()
causes a MIL generator hiccup:
looking for att: item, ty: 0x200
environment looks like:
att: iter, type: 0x1, mvar->name: a0001
att: item, type: 0x800, mvar->name: a0004
att: item, type: 0x400, mvar->name: a0005
/Users/grust/sci/XQuery/pf/compiler/mil/milgen.brg:461:
failed assertion `0'
Abort trap
(For reference:
type 0x200 = pre
type 0x800 = attr
type 0x400 = attr fragment
)
Cheers,
--Teggy
----------------------------------------------------------------------
>Comment By: Sjoerd Mullender (sjoerd)
Date: 2007-02-19 15:57
Message:
Logged In: YES
user_id=43607
Originator: NO
Jan is responsible for the algebra version.
----------------------------------------------------------------------
Comment By: Stefan Manegold (stmane)
Date: 2006-11-05 16:58
Message:
Logged In: YES
user_id=572415
added tests in
pathfinder/tests/BugTracker/Tests/bogus_text_step.SF-1537500.{mps,alg}.*
milprint_summer (mps) version produces correct/expected
!ERROR: path steps are only supported starting from
non-attribute nodes
algebra (alg) version fails as reported
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1537500&group_id=56967
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs