HOF: reporting wrong error

Bug #932266 reported by Sorin Marian Nasoi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
Critical
Nicolae Brinza

Bug Description

query 'fn-concat-18' from FOTS, meaning:

xquery version '3.0';
declare namespace o = 'http://www.zorba-xquery.com/options/features';
declare option o:enable 'hof';
fn:concat("abc","abc", fn:concat#3)

reports
type error [err:FOTY0013]: "concat": argument to fn:data() is function item

The expected error in the FOTS test is
http://www.w3.org/TR/xquery-30/#ERRXPTY0004

Assigned to Nicolai because AFAIK he is working on HOF completion: please reassign accordingly.

Related branches

Changed in zorba:
importance: Medium → Critical
milestone: none → 2.8
Changed in zorba:
milestone: 2.8 → 2.9
Revision history for this message
Nicolae Brinza (nbrinza) wrote :

Fixed in the trunk.

Changed in zorba:
status: New → Fix Committed
Changed in zorba:
status: Fix Committed → Fix Released
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.