Re: Two questions - BOM in UTF-8, and manually cleaning XML

2006-07-05 Thread Manuel Mall
SET_ENCODING? what > is the exact stack trace you get on the client? > > thanks, > dims > > On 7/5/06, Matthew Brown <[EMAIL PROTECTED]> wrote: > > text/xml and utf-8, which I suppose explains the attempt to parse > > the UTF-16 message as UTF-8. The customer h

RE: Two questions - BOM in UTF-8, and manually cleaning XML

2006-07-05 Thread Matthew Brown
; > > > -Original Message- > From: Simon Fell [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 05, 2006 2:46 PM > To: axis-user@ws.apache.org > Subject: RE: Two questions - BOM in UTF-8, and manually cleaning XML > > > What does the content-type header say the charset

Re: Two questions - BOM in UTF-8, and manually cleaning XML

2006-07-05 Thread Davanum Srinivas
AM To: axis-user@ws.apache.org Subject: Re: Two questions - BOM in UTF-8, and manually cleaning XML Maybe changing the xml prolog from "utf-8" to "utf-16" will be easier. It seems like a demo example for a servlet filter ;-) Hope this helps, Rodrigo Manuel Mall wrote: &g

RE: Two questions - BOM in UTF-8, and manually cleaning XML

2006-07-05 Thread Matthew Brown
Fell [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 05, 2006 2:46 PM To: axis-user@ws.apache.org Subject: RE: Two questions - BOM in UTF-8, and manually cleaning XML What does the content-type header say the charset is? That takes precedence over the payload (at least for SOAP 1.1) Cheers

RE: Two questions - BOM in UTF-8, and manually cleaning XML

2006-07-05 Thread Simon Fell
ertise. > > May be someone else can give advice on how to attempt such a thing. > > Manuel >> -Original Message- >> From: Manuel Mall [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, July 05, 2006 11:09 AM >> To: axis-user@ws.apache.org >> Subject: Re:

Re: Two questions - BOM in UTF-8, and manually cleaning XML

2006-07-05 Thread Davanum Srinivas
e what type of encoding the xml is in? Will it look at the prolog, the byte order mark, etc? > > Thanks > > > -Original Message- > From: Manuel Mall [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 05, 2006 11:24 AM > To: axis-user@ws.apache.org > Subject: Re: Two

Re: Two questions - BOM in UTF-8, and manually cleaning XML

2006-07-05 Thread Davanum Srinivas
l Mall [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 05, 2006 11:24 AM To: axis-user@ws.apache.org Subject: Re: Two questions - BOM in UTF-8, and manually cleaning XML On Wednesday 05 July 2006 23:12, Matthew Brown wrote: > Two bytes per char; Etherpeak is showing the second byte as 00. > Se

Re: Two questions - BOM in UTF-8, and manually cleaning XML

2006-07-05 Thread Manuel Mall
ginal Message- > From: Manuel Mall [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 05, 2006 11:24 AM > To: axis-user@ws.apache.org > Subject: Re: Two questions - BOM in UTF-8, and manually cleaning XML > > On Wednesday 05 July 2006 23:12, Matthew Brown wrote: > > Two bytes p

RE: Two questions - BOM in UTF-8, and manually cleaning XML

2006-07-05 Thread Matthew Brown
xml is in? Will it look at the prolog, the byte order mark, etc? Thanks -Original Message- From: Manuel Mall [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 05, 2006 11:24 AM To: axis-user@ws.apache.org Subject: Re: Two questions - BOM in UTF-8, and manually cleaning XML On Wednesday 05

Re: Two questions - BOM in UTF-8, and manually cleaning XML

2006-07-05 Thread Jim Murphy
the Axis > processing chain is outside my area of expertise. > > May be someone else can give advice on how to attempt such a thing. > > Manuel >> -Original Message- >> From: Manuel Mall [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, July 05, 2006 11:09 AM

Re: Two questions - BOM in UTF-8, and manually cleaning XML

2006-07-05 Thread Rodrigo Ruiz
inal Message- From: Manuel Mall [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 05, 2006 11:09 AM To: axis-user@ws.apache.org Subject: Re: Two questions - BOM in UTF-8, and manually cleaning XML On Wednesday 05 July 2006 23:04, Matthew Brown wrote: Manuel, I believe you hit the problem on the h

Re: Two questions - BOM in UTF-8, and manually cleaning XML

2006-07-05 Thread Manuel Mall
tside my area of expertise. May be someone else can give advice on how to attempt such a thing. Manuel > -Original Message- > From: Manuel Mall [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 05, 2006 11:09 AM > To: axis-user@ws.apache.org > Subject: Re: Two questions - BOM in U

RE: Two questions - BOM in UTF-8, and manually cleaning XML

2006-07-05 Thread Matthew Brown
Two bytes per char; Etherpeak is showing the second byte as 00. -Original Message- From: Manuel Mall [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 05, 2006 11:09 AM To: axis-user@ws.apache.org Subject: Re: Two questions - BOM in UTF-8, and manually cleaning XML On Wednesday 05 July

Re: Two questions - BOM in UTF-8, and manually cleaning XML

2006-07-05 Thread Manuel Mall
inal Message- > From: Manuel Mall [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 05, 2006 10:58 AM > To: axis-user@ws.apache.org > Subject: Re: Two questions - BOM in UTF-8, and manually cleaning XML > > On Wednesday 05 July 2006 22:16, Axel Bock wrote: > > Yes, the

RE: Two questions - BOM in UTF-8, and manually cleaning XML

2006-07-05 Thread Matthew Brown
EMAIL PROTECTED] Sent: Wednesday, July 05, 2006 10:58 AM To: axis-user@ws.apache.org Subject: Re: Two questions - BOM in UTF-8, and manually cleaning XML On Wednesday 05 July 2006 22:16, Axel Bock wrote: > Yes, there is a work-around. It works if you encode the file with > UTF-8 (for example), a

RE: Two questions - BOM in UTF-8, and manually cleaning XML

2006-07-05 Thread Matthew Brown
ssage- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 05, 2006 10:44 AM To: axis-user@ws.apache.org Subject: Re: Two questions - BOM in UTF-8, and manually cleaning XML Matthew, Is this from a non-axis web service? and you are having problems with an axis client? --

Re: Two questions - BOM in UTF-8, and manually cleaning XML

2006-07-05 Thread Manuel Mall
On Wednesday 05 July 2006 22:16, Axel Bock wrote: > Yes, there is a work-around. It works if you encode the file with > UTF-8 (for example), and do not include the BOM at the beginning. I > use notepad++ for that task, where you can save in "UTF-8 without > BOM". > > The process for that is easy: >

Re: Two questions - BOM in UTF-8, and manually cleaning XML

2006-07-05 Thread Axel Bock
Hi, hm. then ... maybe you could write an axis handler which actually modifies the response buffer before xerces kicks in. I don't know how to do that, though, so you'd have to refer to some other guys who know better :-) . and, ah, it's AXEL ;-)Greetings, Axel.On 7/5/06, Matthew Brown <[EMAIL PRO

Re: Two questions - BOM in UTF-8, and manually cleaning XML

2006-07-05 Thread Davanum Srinivas
g that to a file... this isn't a static piece of text. -Original Message- From: Axel Bock [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 05, 2006 10:17 AM To: axis-user@ws.apache.org Subject: Re: Two questions - BOM in UTF-8, and manually cleaning XML Yes, there is a work-around. I

RE: Two questions - BOM in UTF-8, and manually cleaning XML

2006-07-05 Thread Matthew Brown
Alex,   The problem I am having is with the SOAP response from the web service; so I'm not really sure how we'd be saving that to a file... this isn't a static piece of text. -Original Message-From: Axel Bock [mailto:[EMAIL PROTECTED]Sent: Wednesday, July 05, 2006 10:17 AMTo:

Re: Two questions - BOM in UTF-8, and manually cleaning XML

2006-07-05 Thread Axel Bock
Yes, there is a work-around. It works if you encode the file with UTF-8 (for example), and do not include the BOM at the beginning. I use notepad++ for that task, where you can save in "UTF-8 without BOM". The process for that is easy: 1. open the file in notepad++2. mark everything via CTRL-A3. c

RE: Two questions - BOM in UTF-8, and manually cleaning XML

2006-07-05 Thread Matthew Brown
Hi all,   I hate to do this, but can anyone please help me with either of these issues? I've tried to upgrade Xerces to 2.8.0 but to no avail.   Is there anything else I could be doing?   What about the possibility of programmatically editing/cleaning the response XML before it is given t