[Home] [By Thread] [By Date] [Recent Entries]


Dare Obasanjo wrote:
> My personal favorite and the cause of much consternation over the
> past  few months has been "What the heck is supposed to happen when the user
> inserts, edits or deletes namespace declarations using an API like the
> DOM?". Nobody knows. All we know for sure is that whatever your favorite
> DOM implementation does is probably not what some users expect.

That's a problem with the DOM, not with namespaces. The DOM is the 
infant of HTML DOM 0 implementations, XML when it didn't have 
namespaces, and then some heavy-duty namespace grafting on top. It's a 
tribute to its inceptors that it's not far more monstrous.

Other fun example in the same vein: find me five people that understand 
the difference between createElement("foo") and createElementNS(null, 
"foo").

-- 
Robin Berjon

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member