Java MIDlet API Forums

« Back to Technical Discussion

RE: Is the SAXParser supported?

Combination View Flat View Tree View
Doesn't look like it is, but I'm looking for verification before I go off in search of another XML parser.  I'm getting the following error:
 
java.lang.NoClassDefFoundError: org/xml/sax/helpers/DefaultHandler

I don't think that it is, and I'll also try to save you some time in looking elsewhere - JSR226 would provide an implementation of the org.w3c.dom classes such as Document, Note, etc but that does not seem to be implemented either.  Here's a link with some possible parser implementations to consider although none seem to implement the org.w3c.dom spec:
 
Check out the middle of this article for a list of MIDP products available (note that not all of them are MIDP ready out of the box):
 
http://developers.sun.com/mobility/midp/articles/parsingxml/

 Go

By API/SDK: