Hi Udesh, In addition to familiarizing yourself with the XMLOutputFactory/XMLStreamWriter APIs it would probably be a good idea to have a look at the existing serializers in Xerces and Xalan to get a feel for the implementation of such a component.
Here's a good introductory article [1] on the XMLStreamWriter. Thanks. [1] http://www.ibm.com/developerworks/library/x-stax3/index.html#N10195 Michael Glavassevich XML Technologies and WAS Development IBM Toronto Lab E-mail: mrgla...@ca.ibm.com E-mail: mrgla...@apache.org Udesh Liyanaarachchi <udesh.liyanaarach...@gmail.com> wrote on 02/16/2012 09:21:05 AM: > Hi Michael, > > Thanks for the idea and I would like to proceed implementing the > XMLStreamWriter. any prerequisites I should concern about..? > > Thanks, > Udesh > On Thu, Feb 16, 2012 at 10:25 AM, Michael Glavassevich <mrgla...@ca.ibm.com > > wrote: > Hi Udesh, > > Request #9 in the change list is just a correction to the > documentation. There isn't any work there for an implementer. > > Xerces does not yet have an XMLStreamWriter (the interface in StAX > which writes/serializes an XML document). I think a basic > implementation of an XMLStreamWriter (one that can write to a > java.io.OutputStream and java.io.Writer) would be a good GSoC project. > > Xerces also still does not yet have an XMLStreamReader > implementation, though I think that might be a little too complex / > too much work for a GSoC project. > > Thanks. > > > Michael Glavassevich > XML Technologies and WAS Development > IBM Toronto Lab > E-mail: mrgla...@ca.ibm.com > E-mail: mrgla...@apache.org > Udesh Liyanaarachchi <udesh.liyanaarach...@gmail.com> wrote on 02/ > 14/2012 01:12:43 PM: > > > > Hi Michael, > > > > Thanks for the references. > > Your idea is interesting. Do you think request 9 of [1] can be > > proposed as a GSoc project..? > > What changes of [2] would you think more important for Xerces. > > > > [1] http://jcp.org/aboutJava/communityprocess/maintenance/jsr173/ > > proposedChanges_revised_for_MR11.html > > [2] http://www.jcp.org/en/jsr/summary?id=173 > > > > Cheers, > > Udesh > > > -- > Udesh Liyanaarachchi > B.sc. Eng (Undergraduate) > Department of Computer Science & Engineering > University Of Moratuwa > Sri Lanka.