W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2013

[Bug 21025] copying unused namespace declarations

From: <bugzilla@jessica.w3.org>
Date: Sun, 17 Feb 2013 11:18:31 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-21025-523-lNGH0OOZtL@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21025

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@saxonica.com
          Component|XQueryX 3.0                 |XQuery 3.0
           Assignee|jim.melton@acm.org          |jonathan.robie@gmail.com

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
Personal response: I agree there are many use cases where this would be
convenient, and indeed where the namespace axis would be convenient. However,
there is a workaround in 3.0 (unlike 1.0) which will have to do for now: you
can use 

in-scope-prefixes($e)!namespace-node(){.}{namespace-uri-for-prefix($e,.)}

to "reconstruct" the namespace nodes for element $e that you would have found
using the namespace axis if it were available.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Sunday, 17 February 2013 11:18:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 17 February 2013 11:18:32 GMT