Next in thread → Next in month →

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

From
Elliotte Rusty Harold <>
To
Date
2004-01-15T13:49:01Z
ID
<p06010203bc2c4a1bb7a6@[192.168.254.4]>
Thread
Re: [xml-dev] Looking for small Java XML Parser
Gordon Ross wrote:
>
>>  I'm looking for a small Java XML parser (validation is *NOT* required,
>>  but well-formedness checking would be nice)

Well-formedness checking is not only nice; it's required or it isn't 
an XML parser.  Some of the things people have suggested are 
therefore not XML parsers. You have not defined what you mean by 
"small". However, you might wish to check out StAX (Google it) from 
JSR 173. It is specifically designed to be used in small devices such 
as cell phones, PDAs, and the like. It is a streaming pull parser 
that does not provide a tree model.
-- 

   Elliotte Rusty Harold
   
   Effective XML (Addison-Wesley, 2003)
   http://www.cafeconleche.org/books/effectivexml
   http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA
Next in thread → Next in month →