You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by "Michael Elman (JIRA)" <ji...@apache.org> on 2009/09/08 15:32:58 UTC

[jira] Created: (WINK-171) JAXBElementXmlProvider ignores charset during unmarsheling

JAXBElementXmlProvider ignores charset during unmarsheling
----------------------------------------------------------

                 Key: WINK-171
                 URL: https://issues.apache.org/jira/browse/WINK-171
             Project: Wink
          Issue Type: Sub-task
            Reporter: Michael Elman


JAXBElementXmlProvider uses StreamSource  during unmarsheling
so it actually ignores the charset if it was set on MediaType.

Should you Reader instead.

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


[jira] Closed: (WINK-171) JAXBElementXmlProvider ignores charset during unmarsheling

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

Michael Elman closed WINK-171.
------------------------------


> JAXBElementXmlProvider ignores charset during unmarsheling
> ----------------------------------------------------------
>
>                 Key: WINK-171
>                 URL: https://issues.apache.org/jira/browse/WINK-171
>             Project: Wink
>          Issue Type: Sub-task
>          Components: Common
>    Affects Versions: 0.1
>            Reporter: Michael Elman
>            Assignee: Michael Elman
>             Fix For: 0.2
>
>
> JAXBElementXmlProvider uses StreamSource  during unmarsheling
> so it actually ignores the charset if it was set on MediaType.
> Should use Reader instead.

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


[jira] Updated: (WINK-171) JAXBElementXmlProvider ignores charset during unmarsheling

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

Michael Elman updated WINK-171:
-------------------------------

          Component/s: Common
    Affects Version/s: 0.1
        Fix Version/s: 0.2

> JAXBElementXmlProvider ignores charset during unmarsheling
> ----------------------------------------------------------
>
>                 Key: WINK-171
>                 URL: https://issues.apache.org/jira/browse/WINK-171
>             Project: Wink
>          Issue Type: Sub-task
>          Components: Common
>    Affects Versions: 0.1
>            Reporter: Michael Elman
>             Fix For: 0.2
>
>
> JAXBElementXmlProvider uses StreamSource  during unmarsheling
> so it actually ignores the charset if it was set on MediaType.
> Should you Reader instead.

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


[jira] Commented: (WINK-171) JAXBElementXmlProvider ignores charset during unmarsheling

Posted by "Michael Elman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WINK-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753025#action_12753025 ] 

Michael Elman commented on WINK-171:
------------------------------------

bq. only used the Reader when the charset is actually present
I'll implement it this way.
It can be always changed later.

> JAXBElementXmlProvider ignores charset during unmarsheling
> ----------------------------------------------------------
>
>                 Key: WINK-171
>                 URL: https://issues.apache.org/jira/browse/WINK-171
>             Project: Wink
>          Issue Type: Sub-task
>          Components: Common
>    Affects Versions: 0.1
>            Reporter: Michael Elman
>             Fix For: 0.2
>
>
> JAXBElementXmlProvider uses StreamSource  during unmarsheling
> so it actually ignores the charset if it was set on MediaType.
> Should use Reader instead.

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


[jira] Resolved: (WINK-171) JAXBElementXmlProvider ignores charset during unmarsheling

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

Michael Elman resolved WINK-171.
--------------------------------

    Resolution: Fixed
      Assignee: Michael Elman

> JAXBElementXmlProvider ignores charset during unmarsheling
> ----------------------------------------------------------
>
>                 Key: WINK-171
>                 URL: https://issues.apache.org/jira/browse/WINK-171
>             Project: Wink
>          Issue Type: Sub-task
>          Components: Common
>    Affects Versions: 0.1
>            Reporter: Michael Elman
>            Assignee: Michael Elman
>             Fix For: 0.2
>
>
> JAXBElementXmlProvider uses StreamSource  during unmarsheling
> so it actually ignores the charset if it was set on MediaType.
> Should use Reader instead.

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


[jira] Updated: (WINK-171) JAXBElementXmlProvider ignores charset during unmarsheling

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

Michael Elman updated WINK-171:
-------------------------------

    Description: 
JAXBElementXmlProvider uses StreamSource  during unmarsheling
so it actually ignores the charset if it was set on MediaType.

Should use Reader instead.

  was:
JAXBElementXmlProvider uses StreamSource  during unmarsheling
so it actually ignores the charset if it was set on MediaType.

Should you Reader instead.


> JAXBElementXmlProvider ignores charset during unmarsheling
> ----------------------------------------------------------
>
>                 Key: WINK-171
>                 URL: https://issues.apache.org/jira/browse/WINK-171
>             Project: Wink
>          Issue Type: Sub-task
>          Components: Common
>    Affects Versions: 0.1
>            Reporter: Michael Elman
>             Fix For: 0.2
>
>
> JAXBElementXmlProvider uses StreamSource  during unmarsheling
> so it actually ignores the charset if it was set on MediaType.
> Should use Reader instead.

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


[jira] Commented: (WINK-171) JAXBElementXmlProvider ignores charset during unmarsheling

Posted by "Nick Gallardo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WINK-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752667#action_12752667 ] 

Nick Gallardo commented on WINK-171:
------------------------------------

I'm away and not able to do it now, but I'd like to get a snapshot of what the performance difference is between using the StreamSource and the Reader.  If the difference is noticeable, would you mind if we only used the Reader when the charset is actually present?

> JAXBElementXmlProvider ignores charset during unmarsheling
> ----------------------------------------------------------
>
>                 Key: WINK-171
>                 URL: https://issues.apache.org/jira/browse/WINK-171
>             Project: Wink
>          Issue Type: Sub-task
>          Components: Common
>    Affects Versions: 0.1
>            Reporter: Michael Elman
>             Fix For: 0.2
>
>
> JAXBElementXmlProvider uses StreamSource  during unmarsheling
> so it actually ignores the charset if it was set on MediaType.
> Should use Reader instead.

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