Public bug reported:

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.

** Affects: zorba
     Importance: High
     Assignee: Markos Zaharioudakis (markos-za)
         Status: New

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

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