Uploaded image for project: 'VXQuery (Retired)'
  1. VXQuery (Retired)
  2. VXQUERY-215

The left operand in the PairConstructor must support ExprSingle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      According to JSONiq grammar specification the left operand of the PairConstructor needs to be ExprSingle [1]. Current implementation considers it to be a StringLiteral.

      Following needs to be implemented:

      *Change the grammar specification of the PairConstructor
      *The string should be the result of evaluating the left operand: atomizing it, checking that it results in a single atomic item, and casting it to xs:string.
      *Errors such as jerr:JNTY0004 or err:XPTY0004 may be raised upon failure of one of these steps.

      [1]http://jsoniq.org/docs/JSONiqExtensionToXQuery/html-single/index.html#section-grammar-summary

      Attachments

        Issue Links

          Activity

            People

              Riyafa Abdul Hameed Riyafa Abdul Hameed
              Riyafa Abdul Hameed Riyafa Abdul Hameed
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: