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

Allow QXmlStreamReader to return element raw inner data and not just text

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • None

    Description

      As of deprecation of QXmlSimpleReader in favor of QXmlStreamReader I am facing a dead end.

      At one point I need to recover data embedded inside an element which contains text as well as a subset of html tags.

      Currently with QXmlSimpleReader sax parser I am able to recover this data as I am able to identify my parsing context when I receive sax event.

      QXmlStreamReader is only able to provide text embedded in 3 ways:

      • Basic text with error if xml tags are met
      • Basic text without error with recursion (but without xml tags)
      • Basic text without error without recursion (but still without xml tags)

      Would it be possible to add a 4th option to recover full raw text data within an element?

       

      Thank you

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            dguihal Damien Guihal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes