You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Fuhwei Lwo (JIRA)" <tu...@ws.apache.org> on 2007/02/13 20:35:05 UTC
[jira] Commented: (TUSCANY-708) Should TypeHelper.define return
List of Types that includes DocumentRootType
[ https://issues.apache.org/jira/browse/TUSCANY-708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472843 ]
Fuhwei Lwo commented on TUSCANY-708:
------------------------------------
I think DocumentRoot type was exposed by XSDHelper.define() not TypeHelper.define() method.
I am wondering whether this is any complication by simply removing the DocumentRoot type from the return list of XSDHelper.define(). Any idea?
> Should TypeHelper.define return List of Types that includes DocumentRootType
> ----------------------------------------------------------------------------
>
> Key: TUSCANY-708
> URL: https://issues.apache.org/jira/browse/TUSCANY-708
> Project: Tuscany
> Issue Type: Bug
> Components: Java SDO Implementation
> Affects Versions: Java-M2
> Environment: All
> Reporter: Robbie Minshall
> Priority: Minor
> Fix For: Java-SDO-Mx
>
>
> TypeHelper.define returns List of Types that includes the DocumentRoot Type
> Perhaps is shoudl only include Types that are deifned within the XSD ( i.e CompanyType, DeptartmentType etc )
> SDOUtil.getTypes( scope, uri ) explicidly removes the DocumentRoot Type
> result.remove(((TypeHelperImpl) scope).getExtendedMetaData().getDocumentRoot(ePackage));
> Should the Types returned by TypeHelper.define(...) and SDOUtil(scope, uri ) be consistent ? They probably should at least treat DocumentRoot Type consistently.
> FrankB says: Currently the DocumentRoot contains the global properties but he current SDO spec does not say how they are handled.
--
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