Questions tagged [schemagen]

51 questions
1
vote
1 answer

JAXB Schemagen (v. 7.0.450.18): change XmlElement name and XmlType(propOrder={...})

i am struggling a bit with the autmATED generation of XSD files with schemagen. First of all i have to tell, that i am working for a project at university and must not change anything in the code of my java classes but the annotations... So,…
user3005072
  • 159
  • 9
1
vote
1 answer

JAXB - XJC settings not to generate Map to List of Key-Value pair conversion bit direct binding

Is there a possibility to force XJC not to generate Map to List of Key-Value pairs conversion? When I take Jaxb annotated class @XmlRootElement public class Customer { private Map addressMap = new HashMap
jaksky
  • 3,305
  • 4
  • 35
  • 68
1
vote
0 answers

JAXB type Erasure

I'm trying to create java to xsd for a java type that looks like this. public class MainRequest> extends EObject { private Transaction tran; private E e; private String email; } public class SubRequest extends…
sapien
  • 11
  • 1
1
vote
1 answer

Validation of XML with maven-created schema fails when namespace is defined

Validation of XML with maven-created schema fails when namespace is defined, but validating against the schema works as long as I don't configure the namespace.