[whatwg] <base> versus xml:base

Anne van Kesteren annevk at opera.com
Fri Mar 2 02:30:06 PST 2007


I think <base> should also be allowed in XML documents. It simplifies the  
language, it already needs to be supported and <base> is able to set  
Document.baseURI where xml:base can at most set  
Document.documentElement.baseURI. (Document.baseURI influences how  
XMLHttpRequest works for instance.)

The <base> element section should probably also talk about what happens  
when you modify the .href attribute.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>



More information about the whatwg mailing list