Hi Tomas,

On Wed, Sep 1, 2010 at 6:56 PM, Tomas Guisasola Gorham
<to...@tecgraf.puc-rio.br> wrote:

>
>        I think we would better provide both forms.  Say we have a document
> as something like this:
>
> <email-message>
>    Hi Thijs
>
>    Well, they are different documents :-)
>
>    Regards,
>        Tomás
> </email-message>
>
>        Of course you'll understand it if converted to:
>
> <email-message>Hi Thijs
>
>    Well, they are different documents :-)
>
>    Regards,
>        Tomás</email-message>
>
>        But I think you lost information.  Don't you agree?
>

No not really:) I think we're mixing up 2 different things. On one
hand you have data content, and the other human readability. Xml can
be formatted so that it's fairly readable for humans with nice
indentation and all, but computers shouldn't care and surely shouldn't
interpret the content of a messages differently based on indentation
or additional whitespace, unless that is a "feature" of the language
like Python.

I don't think this is a matter of opinion really. The question really
is "what is valid SOAP?" If the specification says that whitespace is
not part of the actual data format, then ignore it. I don't know.

The main problem now is that any SOAP library could be sending data to
LuaSOAP, like the cxf one my colleague uses. So if cxf thinks it is
sending a valid SOAP message, then LuaSOAP should not get picky about
whitespace just because it feels like it. That breaks the whole idea
of standardization.

Best, Thijs

_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to