logo       

Enhydra 3.1 UTF-16 encoded XML response: msg#00000

java.enhydra.general

Subject: Enhydra 3.1 UTF-16 encoded XML response

hi,
 
Still using Enhydra 3.1 (i know, i know... but I can't! :), i have a problem with IE when trying to render an XML response encoded as UTF-16 with content-type="text/xml;charset=utf-16".
 
The MSXML parser always barfs with
 

Invalid at the top level of the document. Error processing resource 'http://localhost:9000/FindAndBook'. Line 1, Position 1

 
this isn't actually a problem in IE (who cares right!) but the same MSXML parser/web component is being used by some of my clients to consume the XML returned by our web service, and it is also barfing. If i save the page from IE to an XML file, i can open it fine using IE! but it won't render it properly coming as an HTTP response. Mozilla deals with it fine. Do i have my content type right?
 
I'm stuck. Anyone got any ideas?
 
cheers,
 
Adam.
 
=====================================================
 
Tel:   (+44) 117 908 1254 (Direct)
Mobile (+44) 7780 962 961
email: adam@xxxxxxxxxxxxxx
 
This communication is intended solely for the addressee and is confidential.
If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful.
 
Although this e-mail and any attachments are believed to be free of any
virus, or any other defect which might affect any computer or IT system into
which they are received and opened, it is the responsibility of the
recipient to ensure that they are virus free and no responsibility is
accepted by Multicom Products Limited for any loss or damage arising in any
way from receipt or use thereof.
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise