Hi Nikas, Okay, in this case, Castor internally uses a couple of 'hard-wired' naming conventions with regads to naming of XML artifacts, which might not meet your expectations.
Can you give me a sample of a Java property (name, type, value) and the corresponding XML artefact your are expecting but not seeing ? Werner Nikas wrote: > Hi Werner, > > Below are the answer to your questions > > a: Castor 1.2 > b: No i am not using any mapping file unless castor is using any as default. > c: Its the marshal(object obj) methode I am using of the class > org.exolab.castor.xml.Marshaller. > > Let me know incase you need more information. > > Thanks, > -Kapil. > > > Werner Guttmann wrote: >> Nikas, >> >> that still is not enough information for us to assist you in any way ... >> ;:-(. Let me ask you a few questions, though. >> >> a) What version of Castor are you using ? >> b) Are you using a mapping file ? >> c) What marshal() method of the Marshaller are you using ? >> >> Regards >> Werner Guttmann >> >> Nikas wrote: >>> I am just using castor jar. >>> I am trying to marshal one java object using Marshaller.marshal API. >>> >>> The O/P XML is missing some attribute names. >>> >>> >>> >>> Werner Guttmann-6 wrote: >>>> Nikas, >>>> >>>> without showing us some artefacts of your problem (e.g. mapping file, >>>> XML documents, ...), it will b e*impossible* to help you. >>>> >>>> Regards >>>> Werner >>>> >>>> Nikas wrote: >>>>> Hi, >>>>> >>>>> I have generated a XML for some java object usnig Marshaller. But >>>>> somehow >>>>> it >>>>> has some attribute names blank. It though have values for them. >>>>> >>>>> Ex: >>>>> >>>>> >>>>> Because of this, XML is not being transformed to other XML. >>>>> >>>>> Please help and thanks in advance... >>>>> >>>>> -Nikas. >>>> --------------------------------------------------------------------- >>>> 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 >> >> >> >> > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

