** Changed in: zorba Status: New => Fix Committed -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/947627
Title: setting the static type of the context item is ignored Status in Zorba - The XQuery Processor: Fix Committed Bug description: In test2 in test/unit/context_item.cpp, the static type of the context item is set to xs:integer via the C++ API. In the query in test/unit/context_item2.xq - which is used to create the static context - the context item is declared to be of type xs:string. Currently the setting of the type via the C++ API is silently ignored. It seems that it should be reported as a error (similarly to the error that is reported if 2 declarations of the context item are given: http://www.w3.org/TR/xquery-30/#id-context-item-declarations http://www.w3.org/TR/xquery-30/#ERRXQST0099 To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/947627/+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