Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
Jclouds by default assumes that the response will be in default namespace which may not be the case always. It should respect the namespace in given xml.
For S3.
xml which will get parsed correctly.
<Error xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Code>InternalError</Code>
<Message>
We encountered an internal error. Please try again.
</Message>
<Resource>req123</Resource>
<RequestId>1407808787722531</RequestId>
</Error>
below xml will not get parsed correctly...
<ns0:Error xmlns:ns0="http://s3.amazonaws.com/doc/2006-03-01/">
<ns0:Code>InternalError</ns0:Code>
<ns0:Message>
We encountered an internal error. Please try again.
</ns0:Message>
<ns0:Resource>req123</ns0:Resource
<ns0:RequestId>1407808787722531</ns0:RequestId>
</ns0:Error>