← Back to team overview

zorba-coders team mailing list archive

[Bug 909303] Re: test w3c_testsuite/XQueryX/Construct/DirectConElem/DirectConElemContent/K2-DirectConElemContent-27.xqx fails

 

** Changed in: zorba
   Importance: High => Low

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

Title:
  test
  w3c_testsuite/XQueryX/Construct/DirectConElem/DirectConElemContent/K2-DirectConElemContent-27.xqx
  fails

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The XQueryX version of the test K2-DirectConElemContent-27 fails, because the result is different than expected.
  The code is translated to xquery as:

  (string(<elem>{  text {"str" } }{ "str" }{  text {"str" } }{  text {"str" } }{
  text {"str" } }{ "strstr" }{ ("str","str","strstr","str") }{ "strstr" }{  text {
  "str" } }{ "s" }{  processing-instruction target{"str"} }{ "tr" }</elem>) eq "st
  rstrstrstrstrstrstrstr str strstr strstrstrstrstr")

  which is equivalent to the XQuery test, but the result is different.
  The first word of the result contains 10 "str" instead of 8 "str", so probably there is a bug in the text node constructor.

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


References