Hi there,
As for the comments in OM, you can very easily extend OMText to implement an OMComment object and modify the builder slighlty to generate an OMComment object for the comment event in the parser. infact I remember that earliest OM had an OMComment object!
As for the DTD and PI support my guess is it is not going to be hard. XMLStreamReader returns all necessary events for DTD's and PI's :)


On Apr 11, 2005 3:16 PM, jayachandra <[EMAIL PROTECTED]> wrote:
sure thing! I'll post my test case to the group or wiki

Bye
Jaya
On Apr 11, 2005 2:43 PM, Eran Chinthaka <[EMAIL PROTECTED]> wrote:
> Hi,
>
> >
> > Hi Dims!
> > Thanks for the pointer to XMLUnit. So far, I was using a trial version
> > of XMLDiff in quite an ugly fashion...phew!!!
> > Today I incorporated the XMLUnit and tested the conformance in the
> > suggested three step fashion. Load, Save, Compare. And the results
> > stand as follows Of all the files present in the suite, 435 files were
> > parsed and built into a serializable object model without throwing
> > exceptions. But of them only 381 files have the serialized xml (from
> > OM datastructures) matching with the original xml file used as input.
>
> That looks promising ;)
>
> >
> > As of now, in OM, comment elements are not taken care of. I think I
> > can manage Comment information item. That can improve the success rate
> > by good amount. I'm currently finalizing the interface of OMComment.
>
> Did u committed the stuff to the main tree ??
>
> Plus, can u please publish the test stuff in a wiki as well. So that
> other people ,might also be able to re-test the stuff with your
> guidelines.
>
> Regards,
>
> -- Chinthaka
>
> > On Apr 8, 2005 2:34 AM, Davanum Srinivas <[EMAIL PROTECTED]> wrote:
> > > http://www.w3.org/XML/Test/
> > >
> > > On Apr 7, 2005 3:51 PM, Mark D. Hansen <[EMAIL PROTECTED]> wrote:
> > > > could you provide a link to the test suite?
> > > >
> > > > > -----Original Message-----
> > > > > From: jayachandra [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Thursday, April 07, 2005 2:13 AM
> > > > > To: axis-dev@ws.apache.org
> > > > > Subject: [Axis2]w3c XML Test suite Conformance
> > > > >
> > > > >
> > > > > Hi Guys!
> > > > >
> > > > > Our team here tested to see where our current OM implementation stands
> > > > > on the w3c xml test suite conformance and found out that, of the 2500
> > > > > odd sample XMLs given there, around 490 are getting properly parsed
> > > > > without any excpetions getting thrown. The rest of the files are
> > > > > failing because most of them contained the unsupported DTD, PI and
> > > > > Comment element types in them. XML Infoset spec requires
> > > > > implementation for these three types as well. Comment elements appear
> > > > > manageable and I was successful in implementing (just a rough work
> > > > > though) them. But the rest two seem slightly complex to me. Any
> > > > > ideas/suggestions/pointers, helping hands interested in taking this
> > > > > forward?
> > > > >
> > > > > Thanks in advance,
> > > > > Jaya
> > > > >
> > > >
> > >
> > > --
> > > Davanum Srinivas - http://webservices.apache.org/~dims/
> > >
> >
> > --
> > -- Jaya
> >
>
> --
> --------------------------------------------------------
> Eran Chinthaka
>

--
-- Jaya



--
Ajith Ranabahu

Reply via email to