[Zorba-coders] [Bug 872732] Re: K2-NamespaceURIForPrefixFunc-2 test fails

2011-10-26 Thread Sorin Marian Nasoi
** Changed in: zorba
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/872732

Title:
  K2-NamespaceURIForPrefixFunc-2 test fails

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  this is the ctest output:

  test 
w3c_testsuite/XQuery/Functions/QNameFunc/NamespaceURIForPrefixFunc/K2-NamespaceURIForPrefixFunc-2
  === Query: ===
  (:***:)
  (: Test: K2-NamespaceURIForPrefixFunc-2  :)
  (: Written by: Frans Englich :)
  (: Date: 2007-11-22T11:31:21+01:00   :)
  (: Purpose: Test that the correct default namespace is picked up(#2). :)
  (:***:)
  namespace-uri-for-prefix(, exactly-one(e xmlns=http://www.example.com/A; 
xmlns:A=http://www.example.com/C;
b xmlns:B=http://www.example.com/C; xmlns=/
/e/b)) eq 
  === end of Query ===
  === Result: ===
  true
  === end of result ===
  testdriver: non-canonical result for reference result # 1 doesn't match.

  Actual and Reference canonical results are not identical

  Actual Canonical Result:

  roottrue/root

  
  Reference Canonical Result: 

  root/root

  
  See line 1, col 6 of expected result. 
  Actual:   roottrue/root
  Expected: root/root
  testdriver: canonical result for reference result # 1 doesn't match.
  testdriver: none of the reference results matched

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/872732/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Bug 872732] Re: K2-NamespaceURIForPrefixFunc-2 test fails

2011-10-19 Thread Matthias Brantner
Attached, please find a patch that simplifies the function a bit (apply
using bzr merge name.diff).

** Patch added: simplification
   
https://bugs.launchpad.net/zorba/+bug/872732/+attachment/2561685/+files/qname.diff

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/872732

Title:
  K2-NamespaceURIForPrefixFunc-2 test fails

Status in Zorba - The XQuery Processor:
  In Progress

Bug description:
  this is the ctest output:

  test 
w3c_testsuite/XQuery/Functions/QNameFunc/NamespaceURIForPrefixFunc/K2-NamespaceURIForPrefixFunc-2
  === Query: ===
  (:***:)
  (: Test: K2-NamespaceURIForPrefixFunc-2  :)
  (: Written by: Frans Englich :)
  (: Date: 2007-11-22T11:31:21+01:00   :)
  (: Purpose: Test that the correct default namespace is picked up(#2). :)
  (:***:)
  namespace-uri-for-prefix(, exactly-one(e xmlns=http://www.example.com/A; 
xmlns:A=http://www.example.com/C;
b xmlns:B=http://www.example.com/C; xmlns=/
/e/b)) eq 
  === end of Query ===
  === Result: ===
  true
  === end of result ===
  testdriver: non-canonical result for reference result # 1 doesn't match.

  Actual and Reference canonical results are not identical

  Actual Canonical Result:

  roottrue/root

  
  Reference Canonical Result: 

  root/root

  
  See line 1, col 6 of expected result. 
  Actual:   roottrue/root
  Expected: root/root
  testdriver: canonical result for reference result # 1 doesn't match.
  testdriver: none of the reference results matched

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/872732/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Bug 872732] Re: K2-NamespaceURIForPrefixFunc-2 test fails

2011-10-14 Thread Sorin Marian Nasoi
** Changed in: zorba
Milestone: None = 2.1

** Changed in: zorba
   Importance: Undecided = Medium

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/872732

Title:
  K2-NamespaceURIForPrefixFunc-2 test fails

Status in Zorba - The XQuery Processor:
  New

Bug description:
  this is the ctest output:

  test 
w3c_testsuite/XQuery/Functions/QNameFunc/NamespaceURIForPrefixFunc/K2-NamespaceURIForPrefixFunc-2
  === Query: ===
  (:***:)
  (: Test: K2-NamespaceURIForPrefixFunc-2  :)
  (: Written by: Frans Englich :)
  (: Date: 2007-11-22T11:31:21+01:00   :)
  (: Purpose: Test that the correct default namespace is picked up(#2). :)
  (:***:)
  namespace-uri-for-prefix(, exactly-one(e xmlns=http://www.example.com/A; 
xmlns:A=http://www.example.com/C;
b xmlns:B=http://www.example.com/C; xmlns=/
/e/b)) eq 
  === end of Query ===
  === Result: ===
  true
  === end of result ===
  testdriver: non-canonical result for reference result # 1 doesn't match.

  Actual and Reference canonical results are not identical

  Actual Canonical Result:

  roottrue/root

  
  Reference Canonical Result: 

  root/root

  
  See line 1, col 6 of expected result. 
  Actual:   roottrue/root
  Expected: root/root
  testdriver: canonical result for reference result # 1 doesn't match.
  testdriver: none of the reference results matched

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/872732/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Bug 872732] Re: K2-NamespaceURIForPrefixFunc-2 test fails

2011-10-13 Thread Sorin Marian Nasoi
In XQTS_1_0_3 the expected result for this test is 'true'.
According to the:
- W3C FO Spec: 
http://www.w3.org/TR/xpath-functions-30/#func-namespace-uri-for-prefix
- decisions taken in bug 11590: 
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11590

The correct result in this case is the empty sequence: because () eq 
returns ()

Because of the fact that at this moment the RQ uses XQTS_1_0_3, the test 
test/rbkt/w3c_testsuite/XQuery/Functions/QNameFunc/NamespaceURIForPrefixFunc/K2-NamespaceURIForPrefixFunc-2
 
is marked as an expected failure in 
test/tbkt/Queries/CMakeLists.txt.
Also the test was manually added in the 
test/tbkt/Queries/w3c_known_failures.txt in order for the change to go through 
the RQ.

The proposed changes for this bug can be found on this public branch: lp
:~zorba-coders/zorba/bug_872732


** Bug watch added: W3C Bugzilla #11590
   http://www.w3.org/Bugs/Public/show_bug.cgi?id=11590

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/872732

Title:
  K2-NamespaceURIForPrefixFunc-2 test fails

Status in Zorba - The XQuery Processor:
  New

Bug description:
  this is the ctest output:

  test 
w3c_testsuite/XQuery/Functions/QNameFunc/NamespaceURIForPrefixFunc/K2-NamespaceURIForPrefixFunc-2
  === Query: ===
  (:***:)
  (: Test: K2-NamespaceURIForPrefixFunc-2  :)
  (: Written by: Frans Englich :)
  (: Date: 2007-11-22T11:31:21+01:00   :)
  (: Purpose: Test that the correct default namespace is picked up(#2). :)
  (:***:)
  namespace-uri-for-prefix(, exactly-one(e xmlns=http://www.example.com/A; 
xmlns:A=http://www.example.com/C;
b xmlns:B=http://www.example.com/C; xmlns=/
/e/b)) eq 
  === end of Query ===
  === Result: ===
  true
  === end of result ===
  testdriver: non-canonical result for reference result # 1 doesn't match.

  Actual and Reference canonical results are not identical

  Actual Canonical Result:

  roottrue/root

  
  Reference Canonical Result: 

  root/root

  
  See line 1, col 6 of expected result. 
  Actual:   roottrue/root
  Expected: root/root
  testdriver: canonical result for reference result # 1 doesn't match.
  testdriver: none of the reference results matched

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/872732/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp