FOTS cbcl-cast-ncname-002 returns wrongError

Bug #1182280 reported by Paul J. Lucas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Committed
Medium
Markos Zaharioudakis

Bug Description

This test should raise err:FORG0001 but instead raises err:XPTY0004. The test is:

  fn:current-time() cast as xs:NCName

description: updated
description: updated
summary: - FOTS cbcl-cast-ncname-002 fails
+ FOTS cbcl-cast-ncname-002 returns wrongError
description: updated
Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

The code in casting.cpp for castToBuiltinAtomic(), lines 2656-2662, make it throw the wrong error.

description: updated
Changed in zorba:
assignee: nobody → Markos Zaharioudakis (markos-za)
Changed in zorba:
milestone: none → 3.0
Changed in zorba:
status: New → Fix Committed
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.