Question

We are using XmlBeans 2.6.0 to generate classes from .xsd. A complex type has an attribute

<xs:attribute name="WEB" use="optional" fixed="2" type="xs:int"/>

An earlier version based on Apache CXF generated from this stuff

public static final int WEB = 2;

Is it possible somehow to get the same result using XmlBeans?

UPD Source generation is performed with xmlbeans-maven-plugin 2.3.3.

Thanks in advance.

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top