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

QXmlQuery evaluateTo adds linefeed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 4.8.2
    • XML: QtXmlPatterns
    • None
    • 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

            Unassigned Unassigned
            jgeysens J Geysens
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes