You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org> on 2007/05/16 11:07:16 UTC

[jira] Updated: (TUSCANY-1233) Enhance SDO static codegen (XSD2Java) to support multiple namespaces in a single pass.

     [ https://issues.apache.org/jira/browse/TUSCANY-1233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kelvin Goodson updated TUSCANY-1233:
------------------------------------

    Fix Version/s:     (was: Java-SDO-beta1)
                   Java-SDO-Mx

> 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
>            Priority: Minor
>             Fix For: Java-SDO-Mx
>
>
> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org