Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.11.3
-
None
Description
Some XML processing (e.g. reading an XML schema document) relies on qualified names within attribute or element text. In order to resolve the qualified-name to namespace-and-name it is necessary to use the namespace declarations which apply to the scope of the element being processed.
Currently there is no way to get the full stack of namespace declarations from the QXmlStreamReader. Though the reader itself keeps track of this for its own qualified-name processing logic, it is not exposed through a public API.
Only the namespace declarations created on the current start element are observable by the current API, not the full set of namespace declarations which are in-scope for that element (or the current token more generally).