开发者

Parsing XML in a java 1.4 environment

开发者 https://www.devze.com 2022-12-22 22:04 出处:网络
I\'m developing an application for an old phone which is running java 1.4 and it\'s not upgradeable.开发者_高级运维 I can\'t find any library for XML parsign that is compatible with such an old java r

I'm developing an application for an old phone which is running java 1.4 and it's not upgradeable.开发者_高级运维 I can't find any library for XML parsign that is compatible with such an old java runtime.

Any idea?

Thanks!


javax.xml.parsers seems the most obvious solution - it is bundled in the JRE. You have a DOM and a SAX parser.

If the mobile tag on your question is supposed to imply j2me, then take a look here and more importantly here.


Not even (an older version of) Xerces?


Dom4j has a nice API and is compatible with Java 1.4.

0

精彩评论

暂无评论...
验证码 换一张
取 消