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

Tony Stevenson deleted JAXME-88:
--------------------------------


> Please fix generated class name for enumerations
> ------------------------------------------------
>
>                 Key: JAXME-88
>                 URL: https://issues.apache.org/jira/browse/JAXME-88
>             Project: JaxMe
>          Issue Type: Wish
>            Reporter: Christian Schulte
>            Priority: Critical
>
> When generating code for the following simple type, the jaxme source 
> generator generates a typesafe java enumeration class with name 
> PropertyVisibilityClass. The JAXB 1.0 reference implementation generates a 
> java class named PropertyVisibility. The attached patch makes jaxme generate 
> the same class name as the reference implementation.
>   <xsd:simpleType name="propertyVisibility">
>     <xsd:annotation>
>       <xsd:documentation xml:lang="en">
>         Property scopes.
>       </xsd:documentation>
>     </xsd:annotation>                                        
>     <xsd:restriction base="xsd:NCName">
>       <xsd:enumeration value="private"/>
>       <xsd:enumeration value="default"/>
>       <xsd:enumeration value="protected"/>
>       <xsd:enumeration value="public"/>
>     </xsd:restriction>
>   </xsd:simpleType>



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

Reply via email to