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. You can merge this Pull Request by running:
git pull https://github.com/andrewgaul/jclouds parse-sax-trace-logging Or you can view, comment on it, or merge it online at: https://github.com/jclouds/jclouds/pull/509 -- Commit Summary -- * Improve XML compatibility with trace-level logging -- File Changes -- M core/src/main/java/org/jclouds/http/functions/ParseSax.java (6) -- Patch Links -- https://github.com/jclouds/jclouds/pull/509.patch https://github.com/jclouds/jclouds/pull/509.diff --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/509
