JiBX uses only the generic XMLPull interfaces, so in theory you should
be able to just replace the xpp3.jar with the kXML equivalent. I haven't
actually tried this, though, and it assumes that kXML implements the
XmlPullParserFactory hooks. The
org.jibx.runtime.impl.UnmarshallingContext.createParser() method is
where the parser is actually created. Let the list know what happens if
you want to try this out.
I'll likely do a 1.1 release of JiBX before the end of the year which
supports both XMLPull and StAX parsers, and makes alternative input
sources easy to implement.
- Dennis
Philippe Laporte wrote:
Hi,
I have only begun looking into JiBX.
The parser used is XPP3, which implements the XMLPull API. I assume
replacing XPP3 with another XMLPull parser would not be too hard.
Can anyone confirm that? Has anyone tried with kXML?
Thanks,
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users