MarshallingContext closes Writer at endDocument. ------------------------------------------------
Key: JIBX-339 URL: http://jira.codehaus.org/browse/JIBX-339 Project: JiBX Issue Type: Bug Environment: JDK 1.6 under MAC OSX 1.5.8 Reporter: Benoit Callebaut Upon marshalling, Marshalling context closes its writer when it encounter endDocument event. When using an XMLStreamWriter through StaxWriter, the XMLStreamWriter is closes. This causes trouble when you need to use it afterwards. Test case is when using JiBX as XML framework in Axis2. Axis2 uses the XMLStreamWriter afterwards to finish the SOAP message. This throws an Exception. Workaround is to filter out the close call. Possible solution is to remove the code in the close method of StAXWriter -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ jibx-devs mailing list jibx-devs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-devs