camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-6048) XML-files containing attributes called "type" does not get converted to json
Date Thu, 07 Feb 2013 18:07:12 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-6048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen resolved CAMEL-6048.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.11.0
                   2.10.4
         Assignee: Claus Ibsen

Thanks for the patch.
                
> XML-files containing attributes called "type" does not get converted to json
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-6048
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6048
>             Project: Camel
>          Issue Type: Bug
>            Reporter: Arne M. Størksen
>            Assignee: Claus Ibsen
>            Priority: Minor
>              Labels: xml, xmljson
>             Fix For: 2.10.4, 2.11.0
>
>         Attachments: camel-xmljson.diff
>
>
> An XML-file with an attribute called type will not get converted to JSON, even if the
TypeHintsEnum.NO is used. The problem is that the XMLSerializer in json-lib has typeHintsCompatibility=true
as default. It should be explicitly set to false along with typeHintsEnabled. 

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

Mime
View raw message