[ 
https://issues.apache.org/jira/browse/CXF-6088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Kulp resolved CXF-6088.
------------------------------
       Resolution: Not a Problem
    Fix Version/s: Invalid
         Assignee: Daniel Kulp


Marking not a problem as this isn't a problem in CXF.   CXF just calls off to 
the underlying Databinding tool to generate the code.   Normally, this would be 
JAXB's XJC commands.   Thus, if anything, this would be a bug in JAXB, not CXF.

> When parsing xsd:enumeration the extra "underscore" added by parser
> -------------------------------------------------------------------
>
>                 Key: CXF-6088
>                 URL: https://issues.apache.org/jira/browse/CXF-6088
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2
>            Reporter: Denys Tyshetskyy
>            Assignee: Daniel Kulp
>             Fix For: Invalid
>
>
> When parsing this   
> <xsd:simpleType name="enum">
>         <xsd:restriction base="xsd:string">
>             <xsd:enumeration value="BC9_SS"/>            
>         </xsd:restriction>
>     </xsd:simpleType>
> In the generated java file the element gets renamed into 
> @XmlEnumValue("BC9_SS")
>    BC_9_SS("BC9_SS")
> Expected behavior - 
> in generated code - 
> BC9_SS("BC9_SS")



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to