[ 
https://issues.apache.org/jira/browse/TUSCANY-2058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12576145#action_12576145
 ] 

Kelvin Goodson commented on TUSCANY-2058:
-----------------------------------------

Having consulted,  it seems that the intention is that only the xsd helper 
belonging to the scope in which the type was defined should be able to provide 
information on XSD metadata,  so we need to check that the supplied instance of 
the Type is known to the "this" xsdHelper before examining the annotations we 
keep on the Type impl class.

> The method XSDHelper.isXSD(Type) is returning invalid information
> -----------------------------------------------------------------
>
>                 Key: TUSCANY-2058
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2058
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-1.0
>         Environment: n/a
>            Reporter: David T. Adcox
>             Fix For: Java-SDO-Next
>
>         Attachments: Test2058.java
>
>
> Based on my understanding, XSDHelper.isXSD(Type) should return 'true' if the 
> supplied Type object has been defined in the Scope from which the XSDHelper 
> was constructed.  In turn, I expect that 'false' will be returned, for a Type 
> object NOT defined in the Scope.  In some testing I have performed, I'm 
> seeing that 'true' is always returned, even if the Type is defined outside 
> the Scope being questioned.  I will attach a sample.

-- 
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]

Reply via email to