xquery 1.0 conformance- direct construct elem namespace

Bug #866643 reported by Sorin Marian Nasoi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
High
Sorin Marian Nasoi

Bug Description

1515:test/rbkt/w3c_testsuite/XQuery/Construct/DirectConElem/DirectConElemNamespace/K2-DirectConElemNamespace-39
1529:test/rbkt/w3c_testsuite/XQuery/Construct/DirectConElem/DirectConElemNamespace/K2-DirectConElemNamespace-53
1535:test/rbkt/w3c_testsuite/XQuery/Construct/DirectConElem/DirectConElemNamespace/K2-DirectConElemNamespace-59
1536:test/rbkt/w3c_testsuite/XQuery/Construct/DirectConElem/DirectConElemNamespace/K2-DirectConElemNamespace-60
1541:test/rbkt/w3c_testsuite/XQuery/Construct/DirectConElem/DirectConElemNamespace/K2-DirectConElemNamespace-65
1542:test/rbkt/w3c_testsuite/XQuery/Construct/DirectConElem/DirectConElemNamespace/K2-DirectConElemNamespace-66
1551:test/rbkt/w3c_testsuite/XQuery/Construct/DirectConElem/DirectConElemNamespace/K2-DirectConElemNamespace-75
1552:test/rbkt/w3c_testsuite/XQuery/Construct/DirectConElem/DirectConElemNamespace/K2-DirectConElemNamespace-76
1556:test/rbkt/w3c_testsuite/XQuery/Construct/DirectConElem/DirectConElemNamespace/DirectConElemNamespace-3
1557:test/rbkt/w3c_testsuite/XQuery/Construct/DirectConElem/DirectConElemNamespace/DirectConElemNamespace-4

Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote :

K2-DirectConElemNamespace-39 fixed by in-scope prefixes fix in r8709
K2-DirectConElemNamespace-53 fixed by in-scope prefixes fix in r8709

K2-DirectConElemNamespace-59 : Zorba returns err:XQST0046 which is an accepted result, see http://dev.w3.org/2006/xquery-test-suite/TestSuiteStagingArea/XQTSCatalog.xml#K2-DirectConElemNamespace-59

K2-DirectConElemNamespace-60 : Zorba returns err:XQST0046 which is an accepted result, see http://dev.w3.org/2006/xquery-test-suite/TestSuiteStagingArea/XQTSCatalog.xml#K2-DirectConElemNamespace-60

K2-DirectConElemNamespace-65 : Zorba returns err:XQST0046 which is an accepted result, see http://dev.w3.org/2006/xquery-test-suite/TestSuiteStagingArea/XQTSCatalog.xml#K2-DirectConElemNamespace-65

K2-DirectConElemNamespace-66 an K2-DirectConElemNamespace-65 are one of the same test: opened bug http://www.w3.org/Bugs/Public/show_bug.cgi?id=10384

K2-DirectConElemNamespace-75 : Zorba returns err:XQST0046 which is an accepted result, see http://dev.w3.org/2006/xquery-test-suite/TestSuiteStagingArea/XQTSCatalog.xml#K2-DirectConElemNamespace-75

K2-DirectConElemNamespace-76: XQTS should provide err:XQST0046 as an alternate result for K2-DirectConElemNamespace-76, opened bug http://www.w3.org/Bugs/Public/show_bug.cgi?id=10385

DirectConElemNamespace-3 : Zorba returns err:XQST0046 which is an accepted result, see
http://dev.w3.org/2006/xquery-test-suite/TestSuiteStagingArea/XQTSCatalog.xml#DirectConElemNamespace-3

DirectConElemNamespace-4 : Zorba returns err:XQST0046 which is an accepted result, see http://dev.w3.org/2006/xquery-test-suite/TestSuiteStagingArea/XQTSCatalog.xml#DirectConElemNamespace-4

Zorba returns XQST0022 from translator.cpp:9439.

According to the spec:
http://www.w3.org/TR/2009/WD-xquery-11-20091215/#id-namespaces
"If the DirAttributeValue contains an EnclosedExpr, a static error is raised [err:XQST0022]. Otherwise, it is processed as described in rule 1 of 3.7.1.1 Attributes. An implementation MAY raise a static error [err:XQST0046] if the resulting value is of nonzero length and is not in the lexical space of xs:anyURI"

Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote :

In the last comment I should have mentioned that Zorba returns err:XQST0022 not err:XQST0046.

Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote :

Only

Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote :

DirectConElemNamespace-3, DirectConElemNamespace-4, K2-DirectConElem-47, K2-DirectConElemNamespace-59, K2-DirectConElemNamespace-65, K2-DirectConElemNamespace-75, K2-DirectConElemNamespace-76

were fixed by adding the XQST0022 as an alternate result for these tests and also added a comment for both bugs (7975 and 6868 from W3C) announcing the change.

Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote :

Only these 2 tests are failing at the moment:

DirectConElemNamespace-5
DirectConElemNamespace-6

Revision history for this message
Nicolae Brinza (nbrinza) wrote :

The test

test/rbkt/w3c_testsuite/XQuery/Construct/DirectConElem/DirectConElemNamespace/K2-DirectConElemNamespace-76

still fails due to a problem in the testdriver.

Revision history for this message
Nicolae Brinza (nbrinza) wrote :

The testdriver issue has been fixed, the last test is passing now.

Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote :

Checked in r9396.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.