logo       

Re: Issues with WbxmlParser.java in KXML2 rel. 2.1.8: msg#00001

java.enhydra.kxml

Subject: Re: Issues with WbxmlParser.java in KXML2 rel. 2.1.8

Eric Vuillermet wrote:

I am using the WbxmlParser class in KXML2 2.1.8 and wasn't able to "roundtrip" my xml to wbxml and back. I found a few issues with the class that pushed me to debug it and figured out enough of those issues to make the parser work for the project I am working on.

I am not sure if this is the right forum to post these changes, but I am outputting the changed class for anybody who is experiencing the same problems with this class (look for "EV>>>" comments).

Eric,

thanks a lot for your help!

Actually, most of the issues were already fixed in the version available via public CVS, but there was no new release yet because I still have a bunch of changes from Bogdan Onoi I still need to apply...

It'd be nice if the author of the class could look at those changes and let everyone know if they are correct or not. One of the issue got fixed by uncommented code that worked perfectly, so I am curious to know why was this code commented in the first place !

The commented code was made obsolete by the adjustNsp() method. Can you provide any hint how to reproduce the problem, perhaps an xml fragment I can feed to the roundtrip so I can figure out what's going wrong with that?

I have added a Wbxml rountdtrip example to the version available in CVS:

http://cvs.sourceforge.net/viewcvs.py/kxml/kxml2/samples/WbxmlRoundtrip.java?view=markup

Cheers,
Stefan


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise