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

XmlRole number() queries should give NaN for non-number values

    XMLWordPrintable

Details

    • 086f33dd4c70be03adcbc1703997afa27add920b

    Description

      Given a field like:

      <some-number>blah</some-number>
      

      A role like this:

      XmlRole { name: "blah"; query: "some-number/number()" }
      

      gives a value of "" when according to the spec (http://www.w3.org/TR/xpath/#section-Number-Functions) it should give a value of "NaN".

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            bealam Bea Lam (closed Nokia identity) (Inactive)
            bealam Bea Lam (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes