hi Both are Strings . right now am setting them to empty strings " " to circumvent this issue.
-----Original Message----- From: Werner Guttmann [mailto:[EMAIL PROTECTED] Sent: Thursday, December 28, 2006 9:39 PM To: dev@castor.codehaus.org Subject: Re: [castor-dev] Query - marshalling What types does the Java member that represents e.g. field1 have ? Werner Vinodh Rajaraman (vrajaram) wrote: > > Hi > > I have an object that needs to be marshalled, infact i had > unmarshalled them using castor, so it has all class descriptors, and stuff. > > while marshalling, i chose to ignore some elements, by that i mean, i > want that element to be present in the xml file, but value should be > empty as follows > > <root> > <field1> value <field1> > <field2></field2> > > </root> > > I do want that element to appear in the xml file, but i dont want to > asssociate any value to it, how do i achieve this behavior in Castor > marshalling. > > Cheers > Vinodh > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email