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/03/07 14:23:24 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_12478762 ]
Fuhwei Lwo commented on TUSCANY-708:
------------------------------------
That's a good point. I think the problem we have now is the inconsistency of handling DocumentRoot type - TypeHelper.define() keeps it but SDOUtil.getTypes() removes it. We need a decision here.
> 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