Hi Stefan, ... OK... JSX now does some internal buffering to cope with some unusual cases in Java's Serialization. If you are serializing a very large graph...
1517
Stefan Kuhn
skuhn@...
Dec 17, 2002 12:26 pm
Hi Brendan, It would be a pleasure to help you by testing JSX2. Just to show you what I need: I want to serialize a class containing mainly String attributes,...
1518
nodepste <nodep@.....
nodepste
Dec 17, 2002 8:22 pm
Hi Brendan, now passing the Config object it works! But ... why don't you add code like: this(in, new Config()); in the constructor: XMLDeserialize(Reader in),...
1519
Brendan Macmillan
egroups_yow
Dec 17, 2002 11:57 pm
Hi Stefano, ... Excellent! ... You are right... hmmm... it *should* be passing aliasID=false by default, anyway (the same effect as what you suggest, but at a...
1520
Brendan Macmillan
egroups_yow
Dec 18, 2002 12:32 am
... Excellent!! ... OK, this should work with JSX2 as it is. Why not give it a try? http://jsx2.com/download.html Code looks like this at the moment, and is...
1521
Stefan Kuhn
skuhn@...
Dec 18, 2002 10:02 am
... Well, you're right. I put in some (as I thought) minor class from some other project and this seems to be really huge. (Fortunately we're using cvs, so it ...
1522
robertgarskof <r.g...
robertgarskof
Dec 18, 2002 9:47 pm
I find in evaluating JSX 1.0.7.1 that when I try and read in an xml stream to process into objects I get a message on the New of ObjIn (line 6). The message is...
1523
robertgarskof <r.g...
robertgarskof
Dec 18, 2002 9:48 pm
I think I "may" have the same problem. Can you tell me where to get the IBM fix? -- Robert Garskof SBC Web Services...
1524
Brendan Macmillan
egroups_yow
Dec 19, 2002 12:54 am
... Thus: JSX the diagnostic tool! ;-) Yes, please tell me how JSX2 goes! (Although I guess you don't actually need it now...) Cheers, Brendan...
1525
Sunil Koshie
sunilkoshie
Dec 19, 2002 9:12 am
Hi, I'm looking at handling evolution of classes in my java app using JSX. A number of classes have undergone minor changes like the addition of fields while...
1526
krishna_sathyanarayan...
krishna_sath...
Dec 19, 2002 1:21 pm
I've just started looking into JXL for serializing java objects in XML format. The legacy system I've currently uses custom java serialization and for this I...
1527
Brendan Macmillan
egroups_yow
Dec 19, 2002 2:07 pm
Hi Krishna, The _.0 and so on are primitive values from your writeObject() methods. Two of them come from SecondLevel_1; and other one (_.0) is inherited from ...
1528
robertgarskof <r.g...
robertgarskof
Dec 19, 2002 2:24 pm
Is this only a problem with the 1.0.7.x versions of JSX, or with all versions running on IBM's 1.3.1 JDK's? If this is not a problem with <1.0.7.x of JSK,...
1529
Brendan Macmillan
egroups_yow
Dec 19, 2002 2:25 pm
Hi Sunil, ... The basic approach is to take the XML from the old classes, and use XSLT to transform the XML to suit the new classes. For example, you match a...
1530
Brendan Macmillan
egroups_yow
Dec 19, 2002 2:30 pm
Hi, I think you need to contact Thomas directly somehow, as he doesn't seem to be reading the mailing list.... ... I don't know anything about the IBM AIX; I...
1532
noreply@...
Dec 19, 2002 8:30 pm
This email is to inform you of release '0.1.339; of 'JSX2' through freshmeat.net. All URLs and other useful information can be found at ...
1533
Ing. Thomas Margreiter
f3thomas
Dec 20, 2002 3:13 pm
pmr: 30409,070,618 ... link for JDK : ftp://testcase.software.ibm.com/aix/fromibm/ filename: ca131-20021102-sdk.jar...
1534
Preetham Kajekar
kajekar
Dec 23, 2002 2:45 pm
Hi, I am trying out JSX and noticed the following. Test_File FileOutputStream stream = new FileOutputStream(new File("x:\\tmp\92;ForteTmpMount\\test.xml")); ...
1535
Brendan Macmillan
egroups_yow
Dec 24, 2002 10:10 am
Hi Preetham, OK, although what you are doing is legal, serialization is usually used on a graph of objects. Eg you have a class that contains both the Integer...
1536
Mark van der Kraan &l...
linksspringer
Dec 28, 2002 12:05 am
Hi, I think JSX is doing exactly the right thing: it is writing multiple XML-documents to the same stream. Each XML-doc has to have exactly one root element,...
1537
krishna_sathyanarayan...
krishna_sath...
Dec 31, 2002 12:21 pm
When I custom serialize the object using JSX, it is serializing the primitives with _.xx keys. For example, if my class serialized three int values in...
1538
Brendan Macmillan
egroups_yow
Dec 31, 2002 12:41 pm
Hi Krisha, ... Sorry, I don't understand: they are being written out in the right order... checking over your previous code, the super class writes 1000, and...
1539
krishna_sathyanarayan...
krishna_sath...
Jan 1, 2003 6:41 am
Thanks Brendan. Here is the brief explanation of what I'm trying to achieve. I'm trying to handle a data upgrade situation using JSX. The previous version of...
1540
Brendan Macmillan
egroups_yow
Jan 1, 2003 8:55 am
Hi Krishna, Thanks for explaining more - it really helps a lot! I'm using your example as a case study to show how to handle this kind of evolution in JSX. But...
1541
JSX-ideas@yahoogroups...
Jan 1, 2003 6:47 pm
JSX FAQ - 14 November 2001 ======= JSX instantly XML-enables applications, by re-implementing the Serialization API for XML. FAQ Contents: (1). Background (2)....
1542
Preetham Kajekar
kajekar
Jan 2, 2003 5:30 pm
Hi Brendan, I too am working with Krishna to solve the class evolution problem. I am afraid that we cannot use the third solution you had mentioned since the...
1543
Brendan Macmillan
egroups_yow
Jan 3, 2003 3:32 am
Hi Preetham, ... When you say "evolved into a hierarchy", is there a root object, that refers to this new graph of objects? If there is, then the third...
1544
Mark van der Kraan &l...
linksspringer
Jan 3, 2003 5:32 am
... object ... the mail ... if JSX ... Instructions ... attached ... Perhaps the problem is still that the resulting document has more then one root (so really...
1545
Preetham Kajekar
kajekar
Jan 3, 2003 6:18 am
... Yep. This is the problem. I use DOM to parse the XML which I will then manipulate. So basically DOM parsing fails with "org.xml.sax.SAXParseException: The...
1546
Brendan Macmillan
egroups_yow
Jan 3, 2003 7:20 am
Preetham, Thanks Mark and Preetham!! I understand now. DOM needs just one root object - the problem is not the PI at all! I wasn't looking for that when I ...