Bugs item #1350418, was opened at 2005-11-07 16:36
Message generated for change (Comment added) made by stmane
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1350418&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 general
Group: Pathfinder CVS Head
>Status: Open
Resolution: Fixed
Priority: 6
Private: No
Submitted By: Torsten Grust (teggy)
Assigned to: Jan Rittinger (tsheyar)
Summary: PF: text nodes with empty content sequence

Initial Comment:
Dear friends,

the expression

      <a>{text {()}}</a>/text()

yields text {""} while it should yield (): no text node
is constructed if its constructor's content sequence is
empty.  

Also see 3.7.3.4 Text Node Constructors in the current
W3C XQuery CR.

Regards,
  --Teggy



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

>Comment By: Stefan Manegold (stmane)
Date: 2008-06-08 16:16

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

Re-opening as
http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTestsG103/GNU.64.64.d-Fedora8/tests_W3C_use_cases_XQ_XMP/Q06.out.00.html
still seems to fail with ALG.

Jan, could you please have a quick look and comment?


With MPS, the originally reported bug still seems to exist:
http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.64.64.d-Fedora8/tests_BugDay_2005-12-19_0.9.3/text_nodes_with_empty_content_seq.SF-1350418.out.00.html
(extended version available as of tomorrow).

It is very likely, though, that MPS will no be fixed anymore.


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

Comment By: Jan Rittinger (tsheyar)
Date: 2008-06-07 10:25

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

After more than 2,5 years this bug is finally fixed.

Pruning empty textnodes on the MIL level and respecting the optional
semantics of the textnode constructor during the optimizations did the
job.

text{"42"}/<a/>                                       --> <a/>
text{""}/<a/>                                         --> ()
<a>{text{"foo"}}</a>                                  --> <a>foo</a>
<a>{text{""}}</a>                                     --> <a/>
for $a in ("foo","","bar") return <a>{text{$a}}</a>   -->
<a>foo</a><a/><a>bar</a>


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

Comment By: Stefan Manegold (stmane)
Date: 2008-06-02 21:16

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

problem also occurs in
http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTestsG103/GNU.64.64.d-Fedora8/tests_BugDay_2005-12-19_0.9.3/non-existent_attribute.SF-1324219.out.00.html
http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTestsG103/GNU.64.64.d-Fedora8/tests_BugTracker/interpret_while-bit_nil.SF-1567021.out.00.html
http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTestsG103/GNU.64.64.d-Fedora8/tests_BugsViaSourgeforce/ID.1766173.out.00.html

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

Comment By: Jan Rittinger (tsheyar)
Date: 2008-06-02 12:56

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

problem occurs in
http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTestsG103/GNU.64.64.d-Fedora8/tests_W3C_use_cases_XQ_XMP/Q06.out.00.html
http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTestsG103/GNU.64.64.d-Fedora8/tests_W3C_use_cases_XQ_R/Q02.out.00.html


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

Comment By: Stefan Manegold (stmane)
Date: 2008-01-22 14:37

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

This one is still an issue:
http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests103/GNU.64.64.d-Fedora6/tests_BugDay_2005-12-19_0.9.3/text_nodes_with_empty_content_seq.SF-1350418.out.00.html


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

Comment By: Martin Kersten (mlkersten)
Date: 2007-11-10 23:35

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

That's over a year ago. It is still an issue?

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

Comment By: Torsten Grust (teggy)
Date: 2006-11-08 09:17

Message:
Logged In: YES 
user_id=642632

This is still an issue.  Keep your fingers off of it, filthy
SF robot.

;-)
 
 --Teggy

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

Comment By: SourceForge Robot (sf-robot)
Date: 2006-11-08 04:20

Message:
Logged In: YES 
user_id=1312539

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 365 days (the time period specified by
the administrator of this Tracker).

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

Comment By: Stefan Manegold (stmane)
Date: 2005-12-19 23:23

Message:
Logged In: YES 
user_id=572415

BugDay_2005-12-19, stmane: TEST ADDED / FAILURE:
pathfinder/tests/BugDay_2005-12-19_0.9.3/Tests/text_nodes_with_empty_content_seq.SF-1350418.*

the bug still occurs.


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

Comment By: Jan Rittinger (tsheyar)
Date: 2005-11-07 17:05

Message:
Logged In: YES 
user_id=993208

This bug is already known (see KnownIssues) and won't be
fixed in the near future. The reason is that in June 2005
the working draft introduced new versions of
item-sequence-to-untypedAtomic that ask for special
treatment in case of constructors.

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

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

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to