You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Balaji Ravi (JIRA)" <ji...@apache.org> on 2007/01/04 20:16:27 UTC

[jira] Created: (CXF-354) Printing Extension Elements in the wsdl doesn't have the proper indentation level.

Printing Extension Elements in the wsdl doesn't have the proper indentation level.
----------------------------------------------------------------------------------

                 Key: CXF-354
                 URL: https://issues.apache.org/jira/browse/CXF-354
             Project: CXF
          Issue Type: Bug
          Components: Tooling
            Reporter: Balaji Ravi
             Fix For: 2.0-RC
         Attachments: prettyprint.patch

The PrettyPrintXMLStreamWriter  doesn't output the proper indentation for the wsdl defintion extension elements.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (CXF-354) Printing Extension Elements in the wsdl doesn't have the proper indentation level.

Posted by "willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

willem Jiang resolved CXF-354.
------------------------------

    Resolution: Fixed

applied this patch in revision 494310

> Printing Extension Elements in the wsdl doesn't have the proper indentation level.
> ----------------------------------------------------------------------------------
>
>                 Key: CXF-354
>                 URL: https://issues.apache.org/jira/browse/CXF-354
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>            Reporter: Balaji Ravi
>         Assigned To: willem Jiang
>             Fix For: 2.0-RC
>
>         Attachments: pretty_print_new.patch
>
>
> The PrettyPrintXMLStreamWriter  doesn't output the proper indentation for the wsdl defintion extension elements.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (CXF-354) Printing Extension Elements in the wsdl doesn't have the proper indentation level.

Posted by "Balaji Ravi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462293 ] 

Balaji Ravi commented on CXF-354:
---------------------------------

I have attached a patch which contains the fix to the PrettyPrintXMLStreamWriter and a testcase. Can someone review the patch & apply it?

> Printing Extension Elements in the wsdl doesn't have the proper indentation level.
> ----------------------------------------------------------------------------------
>
>                 Key: CXF-354
>                 URL: https://issues.apache.org/jira/browse/CXF-354
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>            Reporter: Balaji Ravi
>             Fix For: 2.0-RC
>
>         Attachments: prettyprint.patch
>
>
> The PrettyPrintXMLStreamWriter  doesn't output the proper indentation for the wsdl defintion extension elements.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CXF-354) Printing Extension Elements in the wsdl doesn't have the proper indentation level.

Posted by "Balaji Ravi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Balaji Ravi updated CXF-354:
----------------------------

    Attachment: pretty_print_new.patch

> Printing Extension Elements in the wsdl doesn't have the proper indentation level.
> ----------------------------------------------------------------------------------
>
>                 Key: CXF-354
>                 URL: https://issues.apache.org/jira/browse/CXF-354
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>            Reporter: Balaji Ravi
>         Assigned To: willem Jiang
>             Fix For: 2.0-RC
>
>         Attachments: pretty_print_new.patch, prettyprint.patch
>
>
> The PrettyPrintXMLStreamWriter  doesn't output the proper indentation for the wsdl defintion extension elements.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (CXF-354) Printing Extension Elements in the wsdl doesn't have the proper indentation level.

Posted by "Balaji Ravi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463060 ] 

Balaji Ravi commented on CXF-354:
---------------------------------

Willem,

Thanks for looking in to this... I have attached a new patch that works with 3.0.2... Apparently, they have changed the way they use the PrintWriter, so i have gotten rid of using the PrintWriter directly & used the XMLStreamWriter instead...

Thanks

Balaji

> Printing Extension Elements in the wsdl doesn't have the proper indentation level.
> ----------------------------------------------------------------------------------
>
>                 Key: CXF-354
>                 URL: https://issues.apache.org/jira/browse/CXF-354
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>            Reporter: Balaji Ravi
>         Assigned To: willem Jiang
>             Fix For: 2.0-RC
>
>         Attachments: pretty_print_new.patch
>
>
> The PrettyPrintXMLStreamWriter  doesn't output the proper indentation for the wsdl defintion extension elements.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (CXF-354) Printing Extension Elements in the wsdl doesn't have the proper indentation level.

Posted by "willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462939 ] 

willem Jiang commented on CXF-354:
----------------------------------

Balaji,

I tried your patch it works fine with the wstx-asl 2.9.3 but it failed with wstx-asl 3.0.2. 
Because current CXF use the wstx-asl 3.0.2 and not 2.9.3,  can you help me double check it ?

It looks like wstx-asl 3.0.2 's XMLStreamWriter can't take the println() and print(" ") rightly, I think this could be the wstx's bug.
I found this from  Woodstox site http://woodstox.codehaus.org/
" 21-Dec-2006: 3.0.3 and 3.1.1 patch versions released. These fix multiple problems with writer side (XMLStreamWriter): updating from previous versions is strongly recommended".
I also had tried the test with the wstx-asl 3.0.3, and the test still fail :(.
If this is wstx-asl bug we need to get wstx-als fix first :).

> Printing Extension Elements in the wsdl doesn't have the proper indentation level.
> ----------------------------------------------------------------------------------
>
>                 Key: CXF-354
>                 URL: https://issues.apache.org/jira/browse/CXF-354
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>            Reporter: Balaji Ravi
>         Assigned To: willem Jiang
>             Fix For: 2.0-RC
>
>         Attachments: prettyprint.patch
>
>
> The PrettyPrintXMLStreamWriter  doesn't output the proper indentation for the wsdl defintion extension elements.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CXF-354) Printing Extension Elements in the wsdl doesn't have the proper indentation level.

Posted by "Balaji Ravi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Balaji Ravi updated CXF-354:
----------------------------

    Attachment: prettyprint.patch

> Printing Extension Elements in the wsdl doesn't have the proper indentation level.
> ----------------------------------------------------------------------------------
>
>                 Key: CXF-354
>                 URL: https://issues.apache.org/jira/browse/CXF-354
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>            Reporter: Balaji Ravi
>             Fix For: 2.0-RC
>
>         Attachments: prettyprint.patch
>
>
> The PrettyPrintXMLStreamWriter  doesn't output the proper indentation for the wsdl defintion extension elements.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (CXF-354) Printing Extension Elements in the wsdl doesn't have the proper indentation level.

Posted by "willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

willem Jiang reassigned CXF-354:
--------------------------------

    Assignee: willem Jiang

> Printing Extension Elements in the wsdl doesn't have the proper indentation level.
> ----------------------------------------------------------------------------------
>
>                 Key: CXF-354
>                 URL: https://issues.apache.org/jira/browse/CXF-354
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>            Reporter: Balaji Ravi
>         Assigned To: willem Jiang
>             Fix For: 2.0-RC
>
>         Attachments: prettyprint.patch
>
>
> The PrettyPrintXMLStreamWriter  doesn't output the proper indentation for the wsdl defintion extension elements.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CXF-354) Printing Extension Elements in the wsdl doesn't have the proper indentation level.

Posted by "Balaji Ravi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Balaji Ravi updated CXF-354:
----------------------------

    Attachment:     (was: prettyprint.patch)

> Printing Extension Elements in the wsdl doesn't have the proper indentation level.
> ----------------------------------------------------------------------------------
>
>                 Key: CXF-354
>                 URL: https://issues.apache.org/jira/browse/CXF-354
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>            Reporter: Balaji Ravi
>         Assigned To: willem Jiang
>             Fix For: 2.0-RC
>
>         Attachments: pretty_print_new.patch
>
>
> The PrettyPrintXMLStreamWriter  doesn't output the proper indentation for the wsdl defintion extension elements.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira