camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arne M. Størksen (JIRA) <j...@apache.org>
Subject [jira] [Updated] (CAMEL-6048) XML-files containing type-attributes does not get converted to json
Date Thu, 07 Feb 2013 15:57:13 GMT

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

Arne M. Størksen updated CAMEL-6048:
------------------------------------

    Attachment: camel-xmljson.diff
    
> XML-files containing type-attributes 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
>            Priority: Minor
>              Labels: xmljson
>         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