How to customize JAXB to not generate duplicate xmlns:xs="http://www.w3.org/2001/XMLSchema"?
I am using JAXB 2.2 to convert annotated Java objects to XML and back. I do not use XSD schema. Each element in the generated XML has xmlns:xs="http://www.w3.org/2001/XMLSchema" attribute. These attributes take up a lot of space and make XML difficult to read.
How can I configure JAXB to prevent generation of those attributes for each element?