Aaah! That makes a difference of course. But does Axis serialise its XML using a parser? Or else does Axis do its own serialisation using String/StringBuffer? If the former then I guess it's either a bug in the parser (still!) or else a bug in the way Axis is configuring or using the parser. However, I still can't imagine a (non-bug) scenario in which you can configure the parser to produce UTF-16 without it saying that's what it's doing!
Dan. -- Danny Yates Technical Architect Abbey National Treasury Services E-mail: [EMAIL PROTECTED] Phone: +44 20 7756 5012 Fax: +44 20 7612 4342 -----Original Message----- From: Steve Loughran [mailto:[EMAIL PROTECTED]] Sent: 21 November 2002 17:42 To: [EMAIL PROTECTED] Subject: Re: UTF-16 with Axis ----- Original Message ----- From: "Yates, Danny (ANTS)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 21, 2002 3:44 AM Subject: RE: UTF-16 with Axis > Why did it "assume" this? If Google was returning UTF-16, then > a) it should have said so in the XML declaration > b) the XML parser you (or Axis) were using should understand this > > If a) is not true, this is a bug at Google's end, and you should > contact them to fix it. If b) is not true, this is a bug in your > XML parser, and you should contact the vendor to fix it. If a) and > b) are both true, then there is a bug in your understandind! :-) > aah, but I strongly believe that google is built on axis, so their problem is our problem *************************************************************************** This communication (including any attachments) contains confidential information. If you are not the intended recipient and you have received this communication in error, you should destroy it without copying, disclosing or otherwise using its contents. Please notify the sender immediately of the error. Internet communications are not necessarily secure and may be intercepted or changed after they are sent. Abbey National Treasury Services plc does not accept liability for any loss you may suffer as a result of interception or any liability for such changes. If you wish to confirm the origin or content of this communication, please contact the sender by using an alternative means of communication. This communication does not create or modify any contract and, unless otherwise stated, is not intended to be contractually binding. Abbey National Treasury Services plc. Registered Office: Abbey National House, 2 Triton Square, Regents Place, London NW1 3AN. Registered in England under Company Registration Number: 2338548. Regulated by the Financial Services Authority (FSA). ***************************************************************************