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

Bug #872731 reported by Sorin Marian Nasoi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
New
Undecided
Nicolae Brinza

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>>

Changed in zorba:
assignee: nobody → Nicolae Brinza (nbrinza)
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.