[
https://issues.apache.org/jira/browse/TUSCANY-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ron Gavlin updated TUSCANY-1685:
--------------------------------
Component/s: (was: Java SDO Implementation)
Java SDO Tools
Summary: XSD2JavaGenerator should support name mangling (dashes to
underscores, etc.) (was: SDOXSDECoreBuilder.validAliasName(XSDTypeDefinition)
does not mangle dashes in typeNames to underscores)
> XSD2JavaGenerator should support name mangling (dashes to underscores, etc.)
> ----------------------------------------------------------------------------
>
> Key: TUSCANY-1685
> URL: https://issues.apache.org/jira/browse/TUSCANY-1685
> Project: Tuscany
> Issue Type: Bug
> Components: Java SDO Tools
> Affects Versions: Java-SDO-1.0
> Reporter: Ron Gavlin
> Priority: Critical
>
> I have the following complex type in a schema:
> <xsd:complexType name="Bogus-1">
> <xsd:sequence>
> <xsd:element name="name1" type="xsd:string"/>
> </xsd:sequence>
> </xsd:complexType>
> When I use XSD2JavaGenerator to code-generate classes for this schema, an
> invalidly named Bogus-1.java class is generated. The class name should be
> mangled into a valid Java class name, such as Bogus_1.java. EMF provides this
> behavior in its NameMangler which Tuscany currently disables.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]