Re: XMLStreamWriter

2012-03-23 Thread Michael Glavassevich
. Ramsey > > From: Michael Glavassevich > Sent: Wednesday, March 21, 2012 13:10 > To: j-users@xerces.apache.org > Subject: Re: XMLStreamWriter > > Hi Christopher, > > An XMLStreamWriter should be able to write to any > java.io.OutputStream or java.io.Writer. It needs to ta

Re: XMLStreamWriter

2012-03-23 Thread Christopher L. Ramsey
: Wednesday, March 21, 2012 13:10 To: j-users@xerces.apache.org Subject: Re: XMLStreamWriter Hi Christopher, An XMLStreamWriter should be able to write to any java.io.OutputStream or java.io.Writer. It needs to take care of the encoding when the target is an OutputStream. This can be as simple as

Re: XMLStreamWriter

2012-03-21 Thread Michael Glavassevich
Hi Christopher, An XMLStreamWriter should be able to write to any java.io.OutputStream or java.io.Writer. It needs to take care of the encoding when the target is an OutputStream. This can be as simple as wrapping it in an java.io.OutputStreamWriter and as complex as having native support in the

XMLStreamWriter

2012-03-21 Thread Christopher L. Ramsey
I have some questions about the XMLStreamWriter? Would this serialize to an FileWriter and a FileInputStream or would this be able to filter to any stream or writer. I think it should be able to support any of them, and maybe use a string decoder if somebody wants a different encoding? What do