Bugs item #1588053, was opened at 2006-10-31 18:24 Message generated for change (Comment added) made by teubner You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1588053&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/tests Group: Pathfinder CVS Head Status: Open Resolution: None >Priority: 2 Private: No Submitted By: Stefan Manegold (stmane) >Assigned to: Nobody/Anonymous (nobody) Summary: XQ: W3C_use_cases namespace tests fail: Bug or Feature? Initial Comment: With MonetDB/XQuery, the tests in tests/W3C_use_cases/XQ/NS/Tests/ produce output that differs from the "expected results" given in http://www.w3.org/TR/2006/WD-xquery-use-cases-20060608/#ns-queries-results cf. http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests103/GNU.64.64.d-Fedora4/tests_W3C_use_cases_XQ_NS/Q2.out.00.html http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests103/GNU.64.64.d-Fedora4/tests_W3C_use_cases_XQ_NS/Q3.out.00.html http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests103/GNU.64.64.d-Fedora4/tests_W3C_use_cases_XQ_NS/Q4.out.00.html http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests103/GNU.64.64.d-Fedora4/tests_W3C_use_cases_XQ_NS/Q5.out.00.html http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests103/GNU.64.64.d-Fedora4/tests_W3C_use_cases_XQ_NS/Q6.out.00.html http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests103/GNU.64.64.d-Fedora4/tests_W3C_use_cases_XQ_NS/Q7.out.00.html I'm not sure, whether this is indeed a bug, or rather a "feature", i.e., an allowed variation of the output within the XQuery/XML/namespace specifications. Could an expert help, please? ---------------------------------------------------------------------- >Comment By: Jens Teubner (teubner) Date: 2007-02-20 09:34 Message: Logged In: YES user_id=731390 Originator: NO My interpretation of the W3C XQuery Serialization specification is that our serialization is wrong here. So it is a bug. Fixing this involves quite some changes to the code. Currently, namespaces are completely handled during the (early) namespace resolution (file ns.c). During namespace resolution, namespace attributes are stripped from all element constructors and we lose the direct correspondence between namespace bindings and element constructors. To fix this corner case of our serializer, we'd have to propagate more details about namespaces all the way through our compiler pipeline. (Propagating namespace bindings through the pipeline would also allow us to interpret computed QNames in element constructors correctly.) If I compare the effort required to fix this issue and the significance of the problem, I would say this is a low-priority bug. ---------------------------------------------------------------------- Comment By: Sjoerd Mullender (sjoerd) Date: 2007-02-19 15:51 Message: Logged In: YES user_id=43607 Originator: NO Assigning to Jens to decide the answer (or to assign to somebody else who has to decide). The difference is that the expected output contains namespace declarations that are presumbaly in the input document byt which are not used in the output of the query. So the question is whether those namespace declarations are optional according to the XQuery standard. ---------------------------------------------------------------------- Comment By: Stefan Manegold (stmane) Date: 2006-11-12 12:25 Message: Logged In: YES user_id=572415 for the test results with the latest "Stable" release branch (via `make check` with debugmask 10) see http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.64.64.d-Fedora4/tests_W3C_use_cases_XQ_NS/Q2.out.00.html http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.64.64.d-Fedora4/tests_W3C_use_cases_XQ_NS/Q3.out.00.html http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.64.64.d-Fedora4/tests_W3C_use_cases_XQ_NS/Q4.out.00.html http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.64.64.d-Fedora4/tests_W3C_use_cases_XQ_NS/Q5.out.00.html http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.64.64.d-Fedora4/tests_W3C_use_cases_XQ_NS/Q6.out.00.html http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.64.64.d-Fedora4/tests_W3C_use_cases_XQ_NS/Q7.out.00.html for the test results with the latest "Current" development trunk (via `Mtest.py -r -d0` with debugmask 0) see http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests03/GNU.64.64.d-Fedora4/tests_W3C_use_cases_XQ_NS/Q2.out.00.html http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests03/GNU.64.64.d-Fedora4/tests_W3C_use_cases_XQ_NS/Q3.out.00.html http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests03/GNU.64.64.d-Fedora4/tests_W3C_use_cases_XQ_NS/Q4.out.00.html http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests03/GNU.64.64.d-Fedora4/tests_W3C_use_cases_XQ_NS/Q5.out.00.html http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests03/GNU.64.64.d-Fedora4/tests_W3C_use_cases_XQ_NS/Q6.out.00.html http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests03/GNU.64.64.d-Fedora4/tests_W3C_use_cases_XQ_NS/Q7.out.00.html ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1588053&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
