jclouds/jclouds — pull request #509 by andrewgaul (2014-09-05 23:23:16+00:00)
Title: Improve XML compatibility with trace-level logging

Some providers, notably Azure, include a byte-order mark in their XML
responses. ParseSax.apply buffers these responses in a String when
users enable trace-level logging to include the response in any thrown
exceptions. InputSource(InputStream) skips these byte-order marks
while InputSource(Reader) does not, yielding a SAXParseException.