I am working with JAXB2.0 based on Java6, I was confused with some SUN's default implementation, do you have any suggestion about them? thanks in advance!
1. When marshalling, the generated xml alway contains name space declarition, how can I remove the namespace prefix, just let the xml use the default namespace, looks like
2. For some reason, I have several xml root element named Request, so they need use different namespaces. And I put the output java class into the same package, the result is the marshalling xml contain other namespace, but in fact the content of xml does not refer them.
Hi Daming, Your question has nothing to do with web services. Let me move this question to our XML forum where you might get responses. Thank you. Regards, Balaji [ June 07, 2008: Message edited by: Balaji Loganathan ]
Thanks Balaji, I read the doc for JAXB, found that SUN's implementation use package mapping to namespace, and I did not see anything to customize the behavior.