2

I have an xsd scheme which contains non-ascii characters.

I want to generate classes but force the xjc tool NOT to convert those characters to unicode format (\uXXXX), and just leave them as is.

Trouble is when it puts a value of enum in unicode representation to XmlEnumValue annotation of generated class, JAXB unmarshaler can't map appropriate fields. When I manually convert it to plain state, it works ok.

Any suggestions?

4

1 に答える 1