Likewise, I am not clear on the distinction between significant and insignificant whitespace and how it is controlled/defined. What I found interesting about the originally reported problem is that the line separators were not themselves a problem, it was a pair of consecutive line separators that was the problem. The second line separator somehow becomes a text node.
I am going to leave in the line separators for now, since many other SOAP implementations use them, but I will remove the code creating the consecutive line separators for the sake of interop. Scott Nichol ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 01, 2002 11:07 PM Subject: RE: Extra line appearing in Apache Response > Then it should be fixed, IMHO. This is causing interop problem. > > XML spec talks about significant and insignificant white space. > I am not clear on this. What does SOAP spec mandate -- looked > like SUN's SOAP server implementation goes by a strict XML schema. > > Soumen Sarkar. > > -----Original Message----- > From: Scott Nichol [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 01, 2002 8:07 PM > To: [EMAIL PROTECTED] > Subject: Re: Extra line appearing in Apache Response > > > > In order to fix the problem for myself, I had to download Apache SOAP > > sources and edit class org.apache.soap.util.StringUtils, replacing > > > > public static final String lineSeparator = > > System.getProperty("line.separator", "\n"); > > > > with an easy > > > > public static final String lineSeparator = ""; > > > > Then I had to recomplie SOAP lib, and use custom buit jar. This solved > my > > problem completely. Now I wonder, what is the specific reason to > insert new > > lines? > > It is just for readability, which means it is only useful when you have > to debug. > > Scott Nichol > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>