For data types, the enums are generated by the (Oracle) JAXB that CXF
tasks the Java class generation to, I don't know of anything CXF can do
to override that.
Have you thought of preprocessing your WSDL (search and replace if you
have to) prior to running cxf-codegen-plugin? I would suspect most in
your shoes would do that, resulting in CXF never having a need to
implement a remapping to remove diacritics.
Glen
On 6/29/2012 4:01 AM, Stevo Slavić wrote:
Hello Apache CXF community,
An XSD/WSDL (Dutch StUF standard) uses diacritics in string enumerations.
I'm using cxf-codegen-plugin to generate code from it. Resulting enum
member names have invalid characters.
Is there any extension or configuration option for cxf-codegen-plugin or
xjc to replace these characters to characters without diacritics just for
the (enum member) names? Values are already correctly being generated as
UTF-8 characters.
One solution I'd like to avoid is to use ISO-8859-1 for source encoding.
Kind regards,
Stevo Slavić.
--
Glen Mazza
Talend Community Coder
http://coders.talend.com