When using JAXB, I\'d like to remove the excess namespaces/types from my XML elements when using Generics. How can I do this or what am I doing wrong? I\'d like to use Gen
I was able to use @XmlAnyElement(lax=true) on the property that was causing me problems due to the generic parameter, then had to add an @XmlRootElement on the actual class that was being marshalled, and the declaration went away! Fantastic!