You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Sean Zhou (JIRA)" <de...@tuscany.apache.org> on 2008/12/15 20:25:44 UTC

[jira] Created: (TUSCANY-2753) Generated XML file doesn't have line breaks

Generated XML file doesn't have line breaks
-------------------------------------------

                 Key: TUSCANY-2753
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2753
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Assembly Model
    Affects Versions: Java-SCA-Next
         Environment: Windows or Linux
            Reporter: Sean Zhou
            Priority: Minor
             Fix For: Java-SCA-Next


I am using the Tuscany object model to write a composite file. The code is similar to the following:

    CompositeProcessor processor = getCompositeProcessor();
    processor.write(composite, streamWriter);

The composite is properly serialized into a composite file however the composite file doesn't contain any line breaks. If I open this composite XML file in an text editor or XML editor, the file is presented in a single long line and I have to manually add line breaks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (TUSCANY-2753) Generated XML file doesn't have line breaks

Posted by "Sean Zhou (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Zhou closed TUSCANY-2753.
------------------------------

    Resolution: Won't Fix

This can be fixed in the Stream writer instead of Tuscany model.

> Generated XML file doesn't have line breaks
> -------------------------------------------
>
>                 Key: TUSCANY-2753
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2753
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Assembly Model
>    Affects Versions: Java-SCA-Next
>         Environment: Windows or Linux
>            Reporter: Sean Zhou
>            Priority: Minor
>             Fix For: Java-SCA-Next
>
>
> I am using the Tuscany object model to write a composite file. The code is similar to the following:
>     CompositeProcessor processor = getCompositeProcessor();
>     processor.write(composite, streamWriter);
> The composite is properly serialized into a composite file however the composite file doesn't contain any line breaks. If I open this composite XML file in an text editor or XML editor, the file is presented in a single long line and I have to manually add line breaks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.