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

Possible Regression in handling XML entities

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Fixed
    • Icon: P4: Low P4: Low
    • None
    • 6.1.0
    • XML: DOM
    • None

      I have XML documents containing HTML entities, e.g. " " (a non-breakable space).

      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.

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

            magdalenas Magdalena Stojek
            chrisv Chris von Toerne
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes