Bugs item #1712578, was opened at 2007-05-04 11:18
Message generated for change (Comment added) made by tsheyar
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1712578&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: Closed
>Resolution: Fixed
Priority: 8
Private: No
Submitted By: Maurice van Keulen (mvankeulen)
Assigned to: Nobody/Anonymous (nobody)
Summary: Mix-up in nested element construction

Initial Comment:
Attached query uses two nested for loops to create a nested documents. The 
number of elements created is correct, but the element names of the innermost 
created elements is bogus. It gives
<result><tags>a b c 
d</tags><a><a/><a/><b/><b/></a><b><c/><c/><d/><d/></b><c><a/><a/><b/><b/></c><d><c/><c/><d/><d/></d></result>
while it should be
<result><tags>a b c 
d</tags><a><a/><b/><c/><d/></a><b><a/><b/><c/><d/></b><c><a/><b/><c/><d/></c><d><a/><b/><c/><d/></d></result>


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

>Comment By: Jan Rittinger (tsheyar)
Date: 2007-05-06 19:45

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

This problem was introduced in mps version 1.356 where the former
namespace separator ':' was replaced by NS_ACCEL_SEP. A "::" string was
accidentally replaced by a single NS_ACCEL_SEP character.

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

Comment By: Stefan Manegold (stmane)
Date: 2007-05-04 19:23

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

Added test in
pathfinder/tests/BugTracker/Tests/nested_element_construction.SF-1712578.*

It does fail as reported with the latest CVS HEAD code base (mps r1.374).


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

Comment By: Jan Rittinger (tsheyar)
Date: 2007-05-04 14:05

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

I can only say that it works for me (with mps.c version 1.355).

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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to