Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1486

QTextBroswer doesn't display XML string correctly when <!DOCTYPE> is present

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.12.2
    • Other
    • None
    • Windows

    Description

      I tried to use QTextBrowser to display file contents as strings. 

      Most of these files I am working with are xmls, users are able to choose them from their directory. 

       

      In case the xml file contains in the beginning of any line: <!DOCTYPE>

      The tags will not appear in the browser area, only the element values are listed one after another. 

      I'll upload a dummy file to test with. (tst1.xml)

       

      Attachments

        1. tst1.xml
          0.1 kB
        2. file_content.PNG
          file_content.PNG
          3 kB
        3. textbrowser.PNG
          textbrowser.PNG
          0.7 kB
        4. pyside1486.py
          0.7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            scharlotten Anna Semjen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes