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

Bug #909303 reported by Daniel Turcanu
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Zorba
New
Low
Markos Zaharioudakis

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.

Revision history for this message
Daniel Turcanu (danielturcanu) wrote :

In the same category of failure is the test w3c_testsuite/XQueryX/Construct/DirectConElem/DirectConElemWhitespace/K2-DirectConElemWhitespace-25.xqx
Again there are strange duplicates of text nodes in the element string value.

Changed in zorba:
importance: High → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.