You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Pavel Horal (JIRA)" <ji...@apache.org> on 2012/12/15 09:28:13 UTC

[jira] [Comment Edited] (CXF-4369) cxf-xjc-plugin generated unmappable characters using system encoding

    [ https://issues.apache.org/jira/browse/CXF-4369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13532968#comment-13532968 ] 

Pavel Horal edited comment on CXF-4369 at 12/15/12 8:26 AM:
------------------------------------------------------------

Just faced this issue in our project. This is pretty regular bug and annoying bug I think. 

XSD files have their encoding within the file itself (and it is UTF-8 in our case) and Java sources are UTF-8 by the spec. So where exactly does the custom encoding (either user specified or inherited from OS) come in place? What am I missing?
                
      was (Author: pavel.horal):
    Just faced this issue in our project. This is pretty regular and annoying bug I think. 

XSD files have their encoding within the file itself (and it is UTF-8 in our case) and Java sources are UTF-8 by the spec. So where exactly does the custom encoding (either user specified or inherited from OS) come in place? What am I missing?
                  
> cxf-xjc-plugin generated unmappable characters using system encoding
> --------------------------------------------------------------------
>
>                 Key: CXF-4369
>                 URL: https://issues.apache.org/jira/browse/CXF-4369
>             Project: CXF
>          Issue Type: Bug
>         Environment: jdk 1.7 ,  windows 7 , camel-soap 2.10-SNAPSHOT , cxf-xjc-plugin 2.6.0
>            Reporter: Liu Jianhong
>            Assignee: Freeman Fang
>
> In camel source,when I buid "camel-soap" component, it genrates unmappable characters and build failed,the error information as following,and I checked the document for cxf-xjc-plugin, I not found any solution:
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5:compile (default-compile) on project camel-soap:
> Compilation failure: Compilation failure:
> [ERROR] D:\devstudio\soa\source\camel\components\camel-soap\target\generated\src\main\java\org\xmlsoap\schemas\soap\envelope\Fault
> .java:[5,40] 错误: 编码UTF-8的不可映射字符
> [ERROR] D:\devstudio\soa\source\camel\components\camel-soap\target\generated\src\main\java\org\xmlsoap\schemas\soap\envelope\Fault
> .java:[5,41] 错误: 编码UTF-8的不可映射字符

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira