On Wed, Jun 4, 2008 at 3:10 PM, Raymond Feng <[EMAIL PROTECTED]> wrote:
> I believe that we log a warning that an unknown element is encountered. > Isn't it sufficient? > > Thanks, > Raymond > -------------------------------------------------- > From: "Ramkumar R" <[EMAIL PROTECTED]> > Sent: Wednesday, June 04, 2008 4:37 AM > To: <tuscany-dev@ws.apache.org> > Subject: Re: ExtensibleStAXArtifactProcessor should register error when > unsupported implementation or binding types are found > > > 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. >> On 6/3/08, Hasan Muhammad <[EMAIL PROTECTED]> wrote: >> >>> >>> Hi Simon, >>> >>> I have raised JIRA 2365 to address this issue. >>> >>> regards >>> Hasan >>> >>> >> >> >> -- >> Thanks & Regards, >> Ramkumar Ramalingam >> >> The warning also contains the name of the element that could not be found so in your code you could look out for the "ElementCannotBeProcessed" warning registered with the monitor and then take a look at the name parameter provided in this case to work out what sort of extension is missing. Regards Simon