axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Schaefer <axisl...@1reality.org>
Subject Re: xsd:String encoded with zero at the end...
Date Wed, 18 Dec 2002 18:10:00 GMT
>
>no. Where is the data coming from? How are zero bytes getting onto the ends
>of strings? Are they coming from a database or something?


Indeed a print out of the byte array version of the string before 
serialization reveals:

  77 111 114 99 104 101 101 98 97 0
   M  o  r  c  h  e  e  b  a

A ZERO at the end.  I can easily fix this in my code, but unless 
someone claims otherwise,
I'm going to file this as a bug in the serializer.  I don't have a 
decent debugging environment
right now, otherwise I'd try to squish the bug myself.

-C-

Mime
View raw message