Hi m faruqui,
The puzzling thing about it was that the response represented a Java HashMap, whose schema was at "http://idoox.com/containers".<response xsi:type="ns1:HashMap" xmlns:ns1="http://idoox.com/containers">
As far as I know namespace/schema doesn't really concern with XML parser but validator.
"xmlns:" means the decleration of namespace, not schema.
To specify the schema location for XML validator, at the root node of the instance document, use "xsi:schemaLocation" where xsi is the name space to other URL (for unique namespace) like xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance".
This schemaLocation is just a hint to the XML parser.
The namespace specification is only for uniqueness. At the mean time, schemaLocation needs to specify exact schema file Location.
<RootElement xmlns="http://www.mySvr.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.mySvr.com
mySchemaFile.xsd">
<!-- elements -->
</RootElement>
Hope it helps!!
