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

No way to retrieve the full namespace resolution list

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.11.3
    • None
    • All

    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).

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            bsipos-rkf Brian Sipos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes