[ https://issues.apache.org/jira/browse/TUSCANY-1233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kelvin Goodson reassigned TUSCANY-1233: --------------------------------------- Assignee: Kelvin Goodson > Enhance SDO static codegen (XSD2Java) to support multiple namespaces in a > single pass. > -------------------------------------------------------------------------------------- > > Key: TUSCANY-1233 > URL: https://issues.apache.org/jira/browse/TUSCANY-1233 > Project: Tuscany > Issue Type: Improvement > Components: Java SDO Tools > Affects Versions: Java-SDO-M2 > Environment: n/a > Reporter: David T. Adcox > Assignee: Kelvin Goodson > Priority: Minor > Fix For: Java-SDO-1.0 > > Attachments: 1233.patch > > > The SDO static codegen tool (XSD2Java) is currently only able to process a > single namespace per invocation. This limitation is problematic when the > target schema contains multiple namespaces or includes other schemas with > namespaces that are different from the target schema. The user of the tool > is forced to invoke the tool multiple times, once for each namespace > referenced. More troubling is the case where the javapackage option is used. > In that case, the java package information is changed from the default > naming scheme. This change will break any generated classes that point to > the name-modified package. > Supporting this feature would include items such as these listed below: > - Support the processing of multiple namespaces via a command-line option > (this behavior should not be the default) > - Provide support for multiple namespaces within a single schema or WSDL > - Support processing of multiple namespaces imported by the target schema or > WSDL. > - Allow for all namespaces to be discovered through interrogation of the > target and its dependencies. > - Allow for user input to determine all namespaces to be processed (enhanced > schemaNamespace option). > - Provide support for javaPackage to namespace mapping. In effect, enhance > the current javaPackage option to allow for multiple package-namespace pairs. > - Provide support for prefix to namespace mapping. Again, much like the > previous item, enhance the current prefix option to support multiple > prefix-namespace pairs. -- 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]