Re: Why bound prefixes are an anti-pattern in language design

Martin McEvoy wrote:
> Ian,
>
> Is this the reason *why* xmlns prefixes are not supported in HTML 5....
>
> ".... The DOM Level 2 does not support any mechanism to resolve 
> namespace prefixes. For all of these reasons, use of such entities and 
> entity references should be avoided or used with extreme care. A 
> future Level of the DOM may include some additional support for 
> handling these."
>
> http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#Namespaces-Considerations 
>

and

"...While DOM Level 3 does have support for the resolution of namespace 
prefixes, use of such entities and entity references should be avoided 
or used with extreme care."

http://www.w3.org/TR/DOM-Level-3-Core/core.html#Namespaces-Considerations


Thanks

(dont know why I didn't include that)

-- 
Martin McEvoy
http://weborganics.co.uk/

Received on Wednesday, 12 August 2009 01:25:33 UTC