Bugs item #1975028, was opened at 2008-05-27 17:00
Message generated for change (Comment added) made by stmane
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1975028&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 "stable"
Status: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: Jan Rittinger (tsheyar)
Assigned to: Peter Boncz (boncz)
Summary: XQ: get_root (and thus fn:id()) fails for special cases

Initial Comment:
The MIL proc get_root() incorrectly assumes that every attribute has a parent.

Examples queries are

 root(attribute bar {"42"})

 id("a42",attribute bar {"42"})



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

>Comment By: Stefan Manegold (stmane)
Date: 2009-04-07 12:52

Message:
added test in
pathfinder/tests/BugTracker/Tests/fn-root_fn-id_on_attribute_nodes.SF-1975028.*
(CVS HEAD)

as monitor that it will indeed be fixed with future document
representation changes


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

Comment By: Peter Boncz (boncz)
Date: 2009-04-07 10:25

Message:
this is one that might eventually go away in the M5 XQuery port, where
attributes will have pre numbers

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

Comment By: Peter Boncz (boncz)
Date: 2008-06-18 11:22

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

Until we actually move to a document representation where attributes are
proper XML nodes, it will be hard to let get_root do something useful (what
pre number should it return).

The only solution I can think of is generating a run-time error. Which is
what happens now.

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

Comment By: Jan Rittinger (tsheyar)
Date: 2008-05-27 17:01

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

This problem arises in both mps and algebra.

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

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

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to