This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2773 - [XSLT 2.0] copying of base URI
Summary: [XSLT 2.0] copying of base URI
Status: CLOSED DUPLICATE of bug 2774
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 2.0 (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-26 23:56 UTC by Michael Kay
Modified: 2006-02-02 20:07 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2006-01-26 23:56:25 UTC
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
Comment 1 Michael Kay 2006-01-26 23:59:40 UTC
The same text appears in 11.9.2 and needs fixing in the same way.
Comment 2 Michael Kay 2006-01-27 00:42:24 UTC

*** This bug has been marked as a duplicate of 2774 ***
Comment 3 Michael Kay 2006-01-31 17:19:07 UTC
This clarification has now been added to the relevant sentence under xsl:copy
and xsl:copy-of. Thank you for raising it.