W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2008

[Bug 5631] rename and namespace inheritance

From: <bugzilla@farnsworth.w3.org>
Date: Mon, 07 Apr 2008 15:35:20 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1JitNQ-0001uK-Ex@farnsworth.w3.org>

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

           Summary: rename and namespace inheritance
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Update Facility
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


The specification of upd:rename() says (in 1.d and similarly in 2.e) "The
namespaces property of $target is modified to include a namespace binding
derived from $newName, if this binding did not already exist."

Normally, and by default, when we create a namespace binding on an element then
the same namespace binding is created on all its children, recursively, unless
they carry an explicit redeclaration of that namespace prefix. We don't seem to
be doing that here. Is this intentional? I would have thought it made sense to
propagate the new namespace binding to descendants, or not, based on the
"inherit namespace" option in the static context.
Received on Monday, 7 April 2008 15:35:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:22 UTC