hi Arnaud I am using version 0.9.3.21. My value object has about 5 fields in it.
below is the out print statements from the test: created value to parse loading loaded file nodeName RemandDetails value = null nodeName case_no value = null nodeName court_code value = null nodeName ordered_date value = null nodeName correspondent value = null have you got an example of how to implement the node constructor? Thanks -----Original Message----- From: Arnaud Blandin [mailto:blandin@;intalio.com] Sent: 11 October 2002 13:02 To: [EMAIL PROTECTED] Subject: Re: [castor-dev] creating DOM with Marshaller Hi Faisal, Which version of Castor are you using? Can you isolate the problem is a as-small-as-possible test case? Thanks, Arnaud > -----Original Message----- > From: Shoukat, Faisal [mailto:faisal.shoukat@;eds.com] > Sent: Friday, October 11, 2002 1:13 PM > To: [EMAIL PROTECTED] > Subject: [castor-dev] creating DOM with Marshaller > > All, > > does anyone know how to implement the marshall constructor which > accepts a > node so that I can pass a Document object around after marshalling. > > Here is the code I use at the moment: > > Document doc = new DocumentImpl(); > Marshaller marshaller = new Marshaller((Node) doc); > marshaller.setMapping(mapping); > marshaller.marshal(test); > > However when I check the values of my elements within the xml file > created > from my value object test all the node values are null! > > any ideas? > > Thanks in advance! > Faisal > > ----------------------------------------------------------- > If you wish to unsubscribe from this mailing, send mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
