Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.0.2
-
None
Description
This prevents jclouds from deserializing some XML documents, specifially Azure Queue Storage list queues responses. Some background from svet:
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).
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