Re: [xml-dev] Partyin' like it's 1999

From
Elliotte Harold <>
To
Robin Berjon <>
Date
2004-10-27T12:13:19Z
ID
<>
Thread
Re: [xml-dev] Partyin' like it's 1999
Robin Berjon wrote:


> Finally, most of the common APIs were designed before namespaces, which 
> were later grafted onto them. Thanks to that, not only are namespaces 
> painful to use with those but it's altogether too easy to mix 
> namespace-aware and non-namespace-aware manipulations, resulting in 
> scary results that are hard to predict for the users.

SAX1 was designed before namespaces, and the SAX community wisely 
decided to throw most of those classes away and start over for the 
namespace aware SAX2.

SAX2, JDOM, and XOM all get namespaces right. Off the top of my head, 
DOM is the only API that really mucks up namespaces. But there are 
alternatives.

-- 
Elliotte Rusty Harold  
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim