Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-16103

When a contains function has two modifiers functions on the two arguments to it then it will not call either of those modifier functions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 4.7.1
    • XML: QtXmlPatterns

    Description

      In XQuery you can have something like:

      contains(upper-case($arg),upper-case($searchString)) 
      

      however, in a case like that it will not call upper-case at all, if you change one of them to be lower-case instead for example then both will be called. In the example case if it is called like:

      XMLPATTERNS -param path="cookbook.xml" -param sub="MUSHROOMSOUP" mushroomSoup_1.XQ
      

      then it will fail.

      Attachments

        1. cookbook.xml
          2 kB
        2. mushroomSoup_1.xq
          0.6 kB

        Activity

          People

            laknoll Lars Knoll
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: