0

Java marshalling process assigning name spaces prefix ns2 or ns3 randomly, is there a way to see why ns2 come first and ns3 later and vice versa?

  • Possible duplicate of [JAXB custom namespace prefix issue](http://stackoverflow.com/questions/27282559/jaxb-custom-namespace-prefix-issue) – lexicore Oct 31 '15 at 09:29

1 Answers1

0

Check these questions:

In short, use @XmlNs or specify a NamespacePrefixMapper.

Community
  • 1
  • 1
lexicore
  • 42,748
  • 17
  • 132
  • 221