facets of derived union or list types are not taken into account during casting

Bug #1110217 reported by Markos Zaharioudakis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
New
High
Luis Rodriguez Gonzalez

Bug Description

For example, consider the CastAs-ListType-23 test case in the prod-CastExpr.schema test set.

Here is the query for that test case:

xquery version "3.0";
import schema namespace s="http://www.w3.org/XQueryTest/unionListDefined";
("123 987 567 456 877") cast as s:myRestrictedList1

I include the schema file in an attachment.

Tags: fots schema
Revision history for this message
Markos Zaharioudakis (markos-za) wrote :
Chris Hillery (ceejatec)
tags: added: fots
tags: added: warmlist
Changed in zorba:
milestone: none → 2.9
tags: added: schema
removed: warmlist
Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote :

There are 13 failures in "prod-CastExpr.schema":

"CastAs-ListType-23,CastAs-ListType-25,CastAs-ListType-26,CastAs-ListType-27,CastAs-ListType-3,CastAs-ListType-31,CastAs-UnionType-17,CastAs-UnionType-22,CastAs-UnionType-23,CastAs-UnionType-24,CastAs-UnionType-32,CastAs-UnionType-33,CastAs-UnionType-35"

Changed in zorba:
milestone: 2.9 → 3.0
Changed in zorba:
assignee: Cezar Andrei (cezar-andrei) → Luis Rodriguez Gonzalez (kuraru)
Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote :

Please also take a look on the following 4 test-cases from 'prod-InstanceofExpr' test-set:
- instanceof113, instanceof139, instanceof140, cbcl-instance-of-001

The log is attached.

Chris Hillery (ceejatec)
Changed in zorba:
milestone: 3.0 → none
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.