Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.6.3
-
None
Description
When a document is parsed via QDomDocument::setContent() and no "namespaceProcessing" argument is given, it defaults to "false".
That is, unless the programmer explicitly enforces "namespaceProcessing" to be "true", the behavior of QDomDocument, QDomElement etc violate the XML DOM standard. Although this strange behavior is documented, it is a nasty trap that costs programmers quite a lot of time to figure out.
First of all, why is it even possible to configure QDomDocument to violate the standard? And why is that the default?
Is there any way to fix that behavior?