You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Ron Gavlin (JIRA)" <tu...@ws.apache.org> on 2007/10/10 16:25:50 UTC
[jira] Updated: (TUSCANY-1685) Implement a general-purpose
XSD4JavaAnnotator to add SDO annotations to an XSD that supports name
mangling (dashes to underscores, etc.) required by Java
[ https://issues.apache.org/jira/browse/TUSCANY-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ron Gavlin updated TUSCANY-1685:
--------------------------------
Priority: Minor (was: Critical)
Description:
I would like to use a Tuscany-implemented tool to add SDO annotations to an XSD that supports name mangling (dashes to underscores, etc.) required by Java.
was:
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.
Issue Type: New Feature (was: Bug)
Summary: Implement a general-purpose XSD4JavaAnnotator to add SDO annotations to an XSD that supports name mangling (dashes to underscores, etc.) required by Java (was: XSD2JavaGenerator should support name mangling (dashes to underscores, etc.))
Re-cast this issue as a new feature rather than a bug fix.
> Implement a general-purpose XSD4JavaAnnotator to add SDO annotations to an XSD that supports name mangling (dashes to underscores, etc.) required by Java
> ---------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: TUSCANY-1685
> URL: https://issues.apache.org/jira/browse/TUSCANY-1685
> Project: Tuscany
> Issue Type: New Feature
> Components: Java SDO Tools
> Affects Versions: Java-SDO-1.0
> Reporter: Ron Gavlin
> Priority: Minor
> Fix For: Java-SDO-Next
>
>
> I would like to use a Tuscany-implemented tool to add SDO annotations to an XSD that supports name mangling (dashes to underscores, etc.) required by Java.
--
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org