You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Andrew Gaul (JIRA)" <ji...@apache.org> on 2017/07/27 17:44:01 UTC

[jira] [Resolved] (JCLOUDS-1325) JAXBParser does not ignore Unicode byte order mark

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

Andrew Gaul resolved JCLOUDS-1325.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.1.0

> JAXBParser does not ignore Unicode byte order mark
> --------------------------------------------------
>
>                 Key: JCLOUDS-1325
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1325
>             Project: jclouds
>          Issue Type: Improvement
>          Components: jclouds-core
>    Affects Versions: 2.0.2
>            Reporter: Andrew Gaul
>            Assignee: Andrew Gaul
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> This prevents jclouds from deserializing some XML documents, specifially Azure Queue Storage list queues responses.  Some background from [~svet]:
> {quote}
> After digging deeper I found (1) which points to two JDK bugs (2) and (3). Turns out they fixed it at some point to consume the BOM but then reverted because it breaks backwards compatibility.  Also of interest, the UTF character 0xFEFF is serialized as EF BB BF in the UTF-8 byte sequence (4).
> {quote}
> 1. https://stackoverflow.com/questions/4897876/reading-utf-8-bom-marker
> 2. http://bugs.java.com/view_bug.do?bug_id=4508058
> 3. http://bugs.java.com/view_bug.do?bug_id=6378911
> 4. http://www.unicode.org/faq/utf_bom.html#BOM



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)