Problem with fault comparison in DataTransformationInterceptor; maybe we should
compare elem QNames, not type QNames?
---------------------------------------------------------------------------------------------------------------------
Key: TUSCANY-2113
URL: https://issues.apache.org/jira/browse/TUSCANY-2113
Project: Tuscany
Issue Type: Bug
Affects Versions: Java-SCA-1.1
Reporter: Scott Kurz
Fix For: Java-SCA-Next
There's a problem with how the fault matching in DTI uses the private
DTI.typesMatch() method.
I don't think it should be allowing a matching type name to return 'true', i.e.
indicate a successful match.
return matches(t1.getElementName(), t2.getElementName()) ||
matches(t1.getTypeName(), t2.getTypeName());
For one, I could have two distinct fault elems of the same type.
In addition, also note that, if you have a fault element with anonymous type,
the generated JAXB will look like:
--
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]