[ https://issues.apache.org/jira/browse/TUSCANY-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602251#action_12602251 ]
Ramkumar Ramalingam commented on TUSCANY-2365: ---------------------------------------------- Hi Hasan, The ideal place to catch these exceptions seems to be in the ExtensibleStAXArtifactProcessor read method, i think it would not be possible to categorize the exception based on implementation and binding at this stage. I believe it would be possible to throw a generic exception saying that this element is not supported by the runtime as it does not have a suitable processor to proceed. Let me know your say on this. Thanks. > ExtensibleStAXArtifactProcessor should register an error when a unrecognized > element is found > --------------------------------------------------------------------------------------------- > > Key: TUSCANY-2365 > URL: https://issues.apache.org/jira/browse/TUSCANY-2365 > Project: Tuscany > Issue Type: Improvement > Environment: All > Reporter: Hasan Muhammad > Assignee: Ramkumar Ramalingam > Priority: Critical > > ExtensibleStAXArtifactProcessor should register an error instead of a warning > when unrecognized elements such as unsupported implementation types and > binding types are found. Currently it registers a warning. > If possible, it is better to isolate unsupported implementation and binding > types as separate error messages. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.