[
Lists Home |
Date Index |
Thread Index
]
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 elharo@metalab.unc.edu
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
|