By the way, you have not added a member-selector function for pairs.

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

  member accessor on object raises XPTY0004

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  The following query raises [err:XPTY0004]: ~NoTypePromotion_json

  let $obj :=
        "glossary": {
            "title": "example glossary",
        "GlossDiv": {
                "title": "S",
          "GlossList": {
                    "GlossEntry": {
                        "ID": "SGML",
              "SortAs": "SGML",
              "GlossTerm": "Standard Generalized Markup Language",
              "Acronym": "SGML",
              "Abbrev": "ISO 8879:1986",
              "GlossDef": {
                            "para": "A meta-markup language, used to create 
markup languages such as DocBook.",
                "GlossSeeAlso": ["GML", "XML"]
              "GlossSee": "markup"
  return $obj("glossary")("title")

To manage notifications about this bug go to:

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to