** Changed in: zorba
       Status: Fix Committed => Fix Released

You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.

  setting the static type of the context item is ignored

Status in Zorba - The XQuery Processor:
  Fix Released

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:

To manage notifications about this bug go to:

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

Reply via email to