[whatwg] <base> versus xml:base

On 5 Mar 2007, at 21:07, Keryx Web wrote:

> Geoffrey Sneddon wrote:
> > XHTML 1.0/1.1 doesn't allow xml:base, though, so <base> is the  
> only > > way to set a base URL within the document.
>
> In what way would the XHTML 1.0/1.1 spec **disallow** the use of  
> this element from the xml namespace? It's not *part of* the spec,  
> but that's a different matter, right?


xml:lang and xml:base are the actual attribute names ? the XML  
namespace exists so they work within namespace aware parsers (as XML- 
Names is a separate spec that extends XML) ? therefore, it must be  
explicitly allowed within the DTD (like xml:lang is).


- Geoffrey Sneddon

Received on Monday, 5 March 2007 13:48:57 UTC