OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Looking for small Java XML Parser

[ Lists Home | Date Index | Thread Index ]

> I'm looking for a small Java XML parser (validation is *NOT* required,
> but well-formedness checking would be nice)

> I'm not looking for any particular API set, but if it can give me 
> something like a
> DOM/JDOM tree-based API, rather than a SAX style event stream, mores
the better.

What's wrong with Jdom[1] and dom4j[2]? Too big? One of the
contradictions in asking for "a small xml parser" is that an xml parser
needs to fulfill a number of tasks and solve a number of problems to
work correctly. For example correct character escaping and handle
different encodings. Some of these problems are problems that most
homemade or minimal solutions haven't considered, or haven't had the
full subject knowledge to implement correctly. These problems must be
handled for a parser to be a correctly working xml parser, and once
those problems are solved, you pretty much end up with something that is
similar to the projects that already exists. For example the ones below.

/Erik Beijnoff

[1] http://dom4j.org/
[2] http://www.jdom.org/






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS