Issue Type: Bug Bug
Affects Versions: JiBX 1.2.4
Assignee: Unassigned
Components: core
Created: 25/Jan/13 9:34 AM
Description:

Setting an indent level has no effect when marshalling into a XMLEventWriter. This results in ugly XML output that's all jammed together on a single line.

Here's why (from org/jibx/runtime/impl/StAXWriter.java):

    /* (non-Javadoc)
     * @see org.jibx.runtime.IXMLWriter#setIndentSpaces(int, java.lang.String, char)
     */
    public void setIndentSpaces(int count, String newline, char indent) {}

    /* (non-Javadoc)
     * @see org.jibx.runtime.IXMLWriter#indent()
     */
    public void indent() throws IOException {}
Project: JiBX
Priority: Major Major
Reporter: Archie Cobbs
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to