Hi Rodrigo,=0A=0AYou found a bug on JSONUtils.stripQuotes ! (it generated t=
he index exception in an untested case)=0A=0Aand now it has been solved.=0A=
=0AAbout the 'o's and 'e's, they're the default names for object and array =
elements when none are provided,=0A=0Ayou can change them by calling setObj=
ectName() and setElementName() on the serializer.=0A=0A=0A=0ACheers,=0A=0AA=
ndres =0A-------------------------------------------=0Ahttp://jroller.com/p=
age/aalmiray=0Ahttp://www.linkedin.com/in/aalmiray=0A--=0AWhat goes up, mus=
t come down. Ask any system administrator.=0AThere are 10 types of people i=
n the world: Those who understand binary, and those who don't.=0ATo und=
erstand recursion, we must first understand recursion.=0A=0A----- Mensaje o=
riginal ----=0ADe: Rodrigo Pantoni <rod...@ya...>=0APara: j=
son...@li...=0AEnviado: viernes, 11 de mayo, 2007 9:2=
3:40=0AAsunto: [json-lib-user] problems regarding Json-lib - convert a big =
XML in the Json format and after, recover the original XML file=0A=0AHello =
guys,=0A I got a problem using Json-lib, and I would =0Alike to check wi=
th you if there is somethink that I can do to solve =0Athat.=0A=0A =0A=0A =
I have tryed to convert a big XML in the Json =0Aformat and after, recove=
r the original XML file. I know that the released =0Aversion 1.1 of Json li=
b does not do this because a lot of information of XML is =0Alost. Then, I =
get a current development snapshot of (1.2-SNAPSHOT) to test it. =0AIt real=
ly works, but with some bugs. Some XML elements are not with the right =0An=
ame, the most of them have a name like "o" or "e". =0A=0A =0A=0A The jav=
a code, the original XML, the Json file =0Aand the generated XML file is at=
tached to this email (ok.zip).=0A=0A =0A=0A =0A=0A I get other problem t=
oo (run time bug), related =0Ato the message:=0A=0A "Exception in thread "m=
ain" =0Anet.sf.json.JSONException: java.lang.StringIndexOutOfBoundsExceptio=
n: String =0Aindex out of range: -1=0A at =0Anet.sf.json.xml.XMLSeri=
alizer.read(XMLSerializer.java:307)"=0A=0A =0A=0AThe used xml is attached i=
n runtimebug.zip.=0A=0A =0A=0A =0A=0ACheers,=0A=0ARodrigo=0A=0A=0A=0A=0A=0A=
=0A__________________________________________________=0AFale com seus amigo=
s de gra=E7a com o novo Yahoo! Messenger =0Ahttp://br.messenger.yahoo.com/=
-------------------------------------------------------------------------=
=0AThis SF.net email is sponsored by DB2 Express=0ADownload DB2 Express C -=
the FREE version of DB2 express and take=0Acontrol of your XML. No limits.=
Just data. Click to get it now.=0Ahttp://sourceforge.net/powerbar/db2/=0A_=
______________________________________________=0Ajson-lib-user mailing list=
=0Aj...@li...=0Ahttps://lists.sourceforge.net/list=
s/listinfo/json-lib-user=0A=0A=0A=0A=0A=0A=0A=0A Llama gratis a cualqu=
ier PC del mundo. =0ACon una excelente calidad de sonido. =0Ahttp://mx.mess=
enger.yahoo.com/ |