[Bug 5857] [XSLT 2.0] A problem with namespace inheritance

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5857





--- Comment #4 from Michael Kay <mike@saxonica.com>  2009-02-02 15:03:54 ---
I've raised the equivalent XQuery bug as bug #6517.

I've investigated the proposed fix by implementing it in Saxon, and as far as I
can tell it appears to work without unwelcome side-effects. As I mentioned
earlier, Saxon's internal implementation is very different from the model
described in the spec, because Saxon represents namespaces internally using
declarations and undeclarations rather than using namespace nodes/bindings. So
it's hard to be 100% sure that the changes I made to Saxon to verify this are
an accurate reflection of the proposed change. But it feels OK.

The Saxon implementation of the change is essentially that for literal result
elements, xsl:copy and xsl:copy-of, an element with no in-scope default
namespace is treated as if it had an in-scope namespace binding with
(prefix="", uri=""). Some paths checking for errors in xsl:namespace need to be
aware of this and allow for it, but otherwise the rest falls out naturally.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 2 February 2009 15:04:04 UTC