I\'m attempting to use QXmlQuery to execute an XQuery expression against a document with a declared default namespace.
For discussion:
I believe if you would change your query to
... QXmlResultItems items; query.setQuery("declare default element namespace \"http://namespace.com/ns1\"; /root"); ...
it should return the data.
hope this helps, regards