I remember a discussion in the past mentioned to use SDO annotation in the XSD to override the default type name for SDO codegen tool, e.g. sdoXML:name="MyNewTypeName". Can anyone verify whether this is working? Thanks. Regards, Fuhwei Lwo
"Yang ZHONG (JIRA)" <tuscany-dev@ws.apache.org> wrote: [ http://issues.apache.org/jira/browse/TUSCANY-576?page=comments#action_12425813 ] Yang ZHONG commented on TUSCANY-576: ------------------------------------ XSD type, element and attribute names are all xsd:NCName, that means we need to map xsd:NCName to Java class and method name for static SDO type and property. I'll look into the name mapping and code generation. > Bad java class name when XSD name contains dot ('.') characters. > ---------------------------------------------------------------- > > Key: TUSCANY-576 > URL: http://issues.apache.org/jira/browse/TUSCANY-576 > Project: Tuscany > Issue Type: Bug > Components: Java SDO Tools > Affects Versions: Java-M2 > Reporter: Mauro Franceschini > > I've generated java interface and classes starting from an XML Schema file > that contains the following complex type declaration: > > The result is a java source file named CBIBonOrd.001.03.java that has a wrong > name "CBIBonOrd.001.03". -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]