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

General comparison fails for string and attribute query

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      I have included two queries. One that works and one that does not. The only difference is "=" vs "eq".

      for $b in collection("/example-xml-full/")/bookstore/book
      where $b/@category = "CHILDREN"
      return $b

      for $b in collection("/example-xml-full/")/bookstore/book
      where $b/@category eq "CHILDREN"
      return $b

      Query is based on W3Schools XQuery Tutorial example xml document.

      Attachments

        Activity

          People

            prestonc Preston Carman
            prestonc Preston Carman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: