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

Possible Regression in handling XML entities

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.1.0
    • XML: DOM
    • None
    • All

    Description

      I have XML documents containing HTML entities, e.g. " ".

      In Qt5, doc.setContent() accepted these entities, but in 6.1 it does not ("Entity 'nbsp' not declared").

      I believe the new behavior is correct because, well, XML isn't HTML, but it's an incompatibility that I have not seen listed or addressed yet in the changes, or how to convert our code from Qt5 to Qt6.

      Based on the nature of the problem, I'm assuming is across all platforms.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            chrisv Chris von Toerne
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes