** Changed in: zorba Importance: Undecided => High ** Changed in: zorba Assignee: (unassigned) => Cezar Andrei (cezar-andrei)
-- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/894009 Title: Schema validation: can not cast to "02B6E590" Status in Zorba - The XQuery Processor: New Bug description: Query: import schema namespace union = "http://my.schema" at "sch.xsd"; validate strict { <elem xmlns="http://my.schema">+</elem> } Schema: <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:this="http://my.schema" targetNamespace="http://my.schema"> <xs:simpleType name="my-type"> <xs:restriction base="xs:QName"/> </xs:simpleType> <xs:element name="elem" type="this:my-type"/> </xs:schema> Result: <d:\sch.xq>:3,1: dynamic error [err:FORG0001]: "+": invalid value for cast/constructor: can not cast to "02B6E590": value '+' is invalid QName; raised at zorba\src\types\schema\schema.cpp:1761 To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/894009/+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