[ 
https://issues.apache.org/jira/browse/JCLOUDS-1510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16906050#comment-16906050
 ] 

Roded Bahat commented on JCLOUDS-1510:
--------------------------------------

The attached PR is the minimum required to get things working in our 
environment. If there are any comments for further or other changes required, 
please let me know.

> ParseSax convertStreamToStringAndParse creates a String from bytes without 
> specifying a charset
> -----------------------------------------------------------------------------------------------
>
>                 Key: JCLOUDS-1510
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1510
>             Project: jclouds
>          Issue Type: Bug
>            Reporter: Roded Bahat
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> This breaks XML validation on environment which have a non-UTF-8 compatible 
> default JVM charset.
> Relatedly, ParseSax.validateXml (which is called by 
> convertStreamToStringAndParse) validates the XML by searching the String for 
> a '<' character at any location (as opposed to the first character). This can 
> have nondeterministic behavior in some cases since the AWS response contains 
> some random data.
> PR is in the works.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to