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

QXmlQuery evaluateTo adds linefeed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 4.8.2
    • Fix Version/s: None
    • Component/s: XML: QtXmlPatterns
    • Labels:
      None
    • Environment:
      Debian Wheezy

      Description

      QXmlQuery evaluateTo adds linefeed (\n) at the end.
      Example code :

      QXmlQuery querySomething;
      querySomething.setFocus(QUrl(fileName));

      querySomething.setQuery("string(/*/elementname/@attributename)");
      assert(querySomething.isValid());

      QString queryResult;
      querySomething.evaluateTo(&queryResult);

        Attachments

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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jgeysens J Geysens
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes