Re: baseURI / xml:base

Boris Zbarsky <[email protected]>
Newsgroups gmane.comp.web.dom.general
Message-ID <[email protected]>
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?

-Boris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.