[Bug 2773] [XSLT 2.0] copying of base URI

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

           Summary: [XSLT 2.0] copying of base URI
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 2.0
        AssignedTo: mike@saxonica.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


Over on xsl-list, Florent Georges asks:

>   XSLT2/§11.9.1 says:
> 
>     The base URI of a node is copied. However, if the copied
>     node is subsequently attached as a child to a new
>     element, the final copy of the node inherits its base
>     URI from its parent node, unless this is overridden
>     using an xml:base attribute.
> 
>   Is "to a new element" including document nodes? 

Item 10 in 5.7.1 makes clear that the same does indeed apply if the copied node
is attached as a child to a document node, so it would be clearer if we said so
here.

Michael Kay

Received on Thursday, 26 January 2006 23:56:28 UTC