ws-soap-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Nichol <snicholn...@scottnichol.com>
Subject Re: Extra line appearing in Apache Response
Date Wed, 02 Oct 2002 13:13:33 GMT
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: <SoumenS@Atoga.com>
To: <soap-dev@xml.apache.org>
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:snicholnews@scottnichol.com]
> Sent: Tuesday, October 01, 2002 8:07 PM
> To: soap-dev@xml.apache.org
> 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:soap-dev-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <mailto:soap-dev-help@xml.apache.org>
>
> --
> To unsubscribe, e-mail:   <mailto:soap-dev-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <mailto:soap-dev-help@xml.apache.org>
>
>


Mime
View raw message