Public bug reported:

In Zorba 2.0 branch, 
http://bazaar.launchpad.net/~zorba-coders/zorba/2.0/files
revision 10421 compiled in release mode with 
ZORBA_TEST_XQUERYX=ON ZORBA_XQUERYX=ON ZORBA_WITH_BIG_INTEGER=ON
the W3C test w3c_testsuite/XQuery/PathExpr/Steps/Steps-leading-lone-slash-8a is 
failing, see ctest output below.

The thing is that in the Zorba trunk, compiled in release mode the test is 
passing because it is marked as expected failure in 
http://bazaar.launchpad.net/~zorba-coders/zorba/trunk/view/head:/test/rbkt/Queries/CMakeLists.txt
line 213

test w3c_testsuite/XQuery/PathExpr/Steps/Steps-leading-lone-slash-8a
=== Query: ===
(:*******************************************************:)
(: Test: Steps-leading-lone-slash-8a                     :)
(: Written by: Jim Melton                                :)
(: Date: 2009-10-01T14:00:00-07:00                       :)
(: Purpose: Verify xgc:leading-lone-slash implementation :)
(:   This expression is a valid expression               :)
(:      (/) instance of document-node(element(x))        :)
(:*******************************************************:)
declare variable $var := document {<a>123</a>};
$var[(/) instance of document-node(element(x))]
=== end of Query ===
=== Result: ===
<a>123</a>
=== 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:

<root><a>123</a></root>


Reference Canonical Result: 

<root></root>


See line 1, col 7 of expected result. 
Actual:   <<root><a>123</a></root>>
Expected: <<root></root>>

** Affects: zorba
     Importance: Undecided
     Assignee: Nicolae Brinza (nbrinza)
         Status: New

** Changed in: zorba
     Assignee: (unassigned) => Nicolae Brinza (nbrinza)

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

Title:
  Steps-leading-lone-slash-8a test fails in Zorba 2.0 branch

Status in Zorba - The XQuery Processor:
  New

Bug description:
  In Zorba 2.0 branch, 
  http://bazaar.launchpad.net/~zorba-coders/zorba/2.0/files
  revision 10421 compiled in release mode with 
  ZORBA_TEST_XQUERYX=ON ZORBA_XQUERYX=ON ZORBA_WITH_BIG_INTEGER=ON
  the W3C test w3c_testsuite/XQuery/PathExpr/Steps/Steps-leading-lone-slash-8a 
is failing, see ctest output below.

  The thing is that in the Zorba trunk, compiled in release mode the test is 
passing because it is marked as expected failure in 
  
http://bazaar.launchpad.net/~zorba-coders/zorba/trunk/view/head:/test/rbkt/Queries/CMakeLists.txt
  line 213

  test w3c_testsuite/XQuery/PathExpr/Steps/Steps-leading-lone-slash-8a
  === Query: ===
  (:*******************************************************:)
  (: Test: Steps-leading-lone-slash-8a                     :)
  (: Written by: Jim Melton                                :)
  (: Date: 2009-10-01T14:00:00-07:00                       :)
  (: Purpose: Verify xgc:leading-lone-slash implementation :)
  (:   This expression is a valid expression               :)
  (:      (/) instance of document-node(element(x))        :)
  (:*******************************************************:)
  declare variable $var := document {<a>123</a>};
  $var[(/) instance of document-node(element(x))]
  === end of Query ===
  === Result: ===
  <a>123</a>
  === 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:

  <root><a>123</a></root>

  
  Reference Canonical Result: 

  <root></root>

  
  See line 1, col 7 of expected result. 
  Actual:   <<root><a>123</a></root>>
  Expected: <<root></root>>

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/872731/+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

Reply via email to