SDOXSDECoreBuilder.validAliasName(XSDTypeDefinition) does not mangle dashes in 
typeNames to underscores
-------------------------------------------------------------------------------------------------------

                 Key: TUSCANY-1685
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1685
             Project: Tuscany
          Issue Type: Bug
          Components: Java SDO Implementation
    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]

Reply via email to