cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denys Tyshetskyy (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-6088) When parsing xsd:enumeration the extra "underscore" added by parser
Date Thu, 06 Nov 2014 02:57:34 GMT
Denys Tyshetskyy created CXF-6088:
-------------------------------------

             Summary: 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


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)

Mime
View raw message