Yep. Don't throw Exception. Ignore it. Yes, we need comments. SAAJ does support comments.
-- dims On 7/27/05, Shahi, Ashutosh <[EMAIL PROTECTED]> wrote: > > Hi Eran, > Yeah, I agree that full infoset need not be supported, but if the XML > has comments, DTDs PIs etc, instead of throwing an Exception, we should > atleast discard them and not build a object model for them. > Comments atleast are a very common case and should be processed. > > -Ashutosh > > -----Original Message----- > From: Eran Chinthaka [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 28, 2005 1:10 AM > To: [email protected] > Subject: [Axis2] Full infoset support and StAXSOAPModelBuilder > > Hi all, > > We all know that in StAXSOAPModelBuilder, we do not support the full > infoset > of XML. But think about the following scenario. > Body can contain any XML junk inside it. So that XML part may contain > PIs, > DTDs, etc., > SO if you wanna give access to the parts within the body through > StAXSOAPModelBuilder, we will have problem. > So what can we do for this ?? > > -- Chinthaka > > > > -- Davanum Srinivas -http://blogs.cocoondev.org/dims/
