W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2013

Re: baseURI / xml:base

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 09 Aug 2013 09:37:08 -0400
Message-ID: <5204F084.7070708@mit.edu>
To: Anne van Kesteren <annevk@annevk.nl>
CC: "www-dom@w3.org" <www-dom@w3.org>
On 8/9/13 9:07 AM, Anne van Kesteren wrote:
> Cloning any node (e.g. Text or Element) will copy the baseURI.

Er... it will?  I don't see any code to that effect, other than the 
obvious: the baseURI getter considers the owner document, so just 
cloning a node (which preserves the ownerDocument) will give you a node 
with the same base URI: that of the document.

> However, nobody else does that.

Might I ask for the testcase you were using to test behavior here?

Received on Friday, 9 August 2013 13:37:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:03 UTC