StaXWriter truncates output after a couple of thousand lines
------------------------------------------------------------

                 Key: JIBX-270
                 URL: http://jira.codehaus.org/browse/JIBX-270
             Project: JiBX
          Issue Type: Bug
          Components: core
            Reporter: Nigel Charman


After changing JiBX/WS to try out the StaXWriter, large response payloads were 
truncated after a couple of thousand lines.

The change I tried was in WsServletDelegate.getNormalWriter(): 

            try {
                XMLOutputFactory ofact = 
javax.xml.stream.XMLOutputFactory.newInstance();
                XMLStreamWriter wrtr = 
ofact.createXMLStreamWriter(m_response.getOutputStream());
                return new StAXWriter(m_writer.getNamespaces(), wrtr);
            } catch (XMLStreamException e) {
                throw new IOException("Error creating writer " + 
e.getMessage());
            }
//            return m_writer;



-- 
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

        

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to