Closed Enrice closed 6 years ago
The 2.x line of the Jaxb2-Maven-Plugin requires the namespaceURI to relate to at least one non-empty value out of the two properties:
Otherwise, two namespace URIs could relate to the same prefix within the compilation unit, essentially producing invalid XSD mappings.
I will address this within the documentation.
I want to generate XSDs without a namespace prefix on the target namespace. So I do
@XmlNs(namespaceURI="http://some.uri/", prefix="")
which previously worked (1.6) but no longer does under 2.x.Could you please tell why?