** 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.

  JSONiq: cannot create mixed JDM/XDM sequence

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  zorba -q 'let $foo := ({"foo":1},<xml/>) return 1'

  results in

  Zorba error [zerr:ZXQP0002]: "false": assertion failed; raised at

  (This isn't an issue with serialization, as the query isn't attempting
  to serialize a mixed sequence.)

  Matthias sez:

  "The assertion is triggered because STRUCTURED_ITEM_KIND is not
  handled in the switch in TypeManagerImpl::create_type. It's happening
  in the rewriter, so executing the query with --optimization-level O0
  should work."

  And indeed, the above query works with O0.

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