axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Forbis <chris.for...@veritas.com>
Subject RE: Unicode Filtering
Date Tue, 29 Jul 2003 23:18:57 GMT
I see...

Because it is not valid what can be done to make the Bean Serilizer just
work...  (Strip these characters to do a convert event... or something)


-----Original Message-----
From: Steve Loughran [mailto:steve_l@iseran.com] 
Sent: Tuesday, July 29, 2003 7:13 PM
To: axis-dev@ws.apache.org
Subject: Re: Unicode Filtering

Chris Forbis wrote:
> 
> 
> Have any steps been taken to allow for filters to be placed in Axis to 
> correct URF8 issues with Soap...  What do I mean by this?   (I am sure 
> of you are still wondering)
> 
>  
> 
> When I have a java String in a bean the bean serializer then does it's 
> work and sends it out the XML might fail... why?  Because there are many 
> characters that are not valid in UTF8 soap messages, but are very valid 
> in java Strings...  so the soap parser crashes...
> 
>  
> 
> Here are the byte codes for a few that I see all the time...
> 
> (byte)25
> 
> (byte)28
> 
> (byte)29
> 
> (byte)19
> 

These are all illegal XML characters, whether they are escaped or not.

CVS_HEAD Axis will now throw an exception when you try to send these, 
rather than wait for the recipient to deal with them. This will make it 
easier for you to discover where your code needs fixing.


Mime
View raw message