Hi Shameera, Welcome to the mailing list and thanks for your interest in Xerces.
Yes, an implementation of the XMLStreamWriter, along with tests and documentation would make for a good GSoC project. You could extend that to also include the XMLEventWriter if you're interested and believe that's something you'd have time to do. For the implementation I was thinking that the Xalan serializer (currently used for DOM serialization) could be used as a base, with the XMLStreamWriter wrapping that to handle the StAX specific processing. An XMLEventWriter could be layered on top of the XMLStreamWriter. If you'd like to get a feel for what a good proposal looks like (content and structural wise) there's a number of successful GSoC proposals from previous years up on the Xerces Wiki [1] which are great examples. Thanks. [1] http://wiki.apache.org/xerces/FrontPage Michael Glavassevich XML Technologies and WAS Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] Shameera Rathnayaka <[email protected]> wrote on 06/04/2013 02:12:02 AM: > Hi devs/Michael Glavassevich, > > I have successfully done 2012 GSOC with Apache Axis2. In that I > wrote a StAX XMLStreamWriter/Reader implementation to provide XML > info-set using JSON input and output streams[1]. AXIOM use that to > get the XML infoset. > > Xerces has proposed similar requirement which is to implement StAX > XMLStreamWriter[2]. I have talked abut this under particular jira > issue. Thought it would be good talk more about how to create an > excellent proposal for that in dev list other than ruin the jira issue :). > > As i have mentioned we can provide XMLOutputFactory api which > provide StAX XMLStreamWriter via createXMLStreamWriter(OutputStream > stream), createXMLStreamWriter(OutputStream stream, String encoding) > and createXMLStreamWriter(Writer stream). > > Above implementatinos , Documentation and unit test to cover those > functionalities would perfectly match with GSOC scope. WDYT? > > Regars, > Shameera > > [1] https://issues.apache.org/jira/browse/AXIS2-5270 > [2] https://issues.apache.org/jira/browse/XERCESJ-1558 > > -- > Best Regards, > Shameera Rathnayaka. > > Blog : http://shameerarathnayaka.blogspot.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
