Hi Tomas,

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

>
>        Well, they are different documents :-)

Do you think that putting a whitespace here qualifies the content as
being any different from the first? I would expect the whitespace in
the markup part to be ignored in any xml like document.

  I am not sure what to do in
> these cases since white space (including tabs, new lines etc.) could be
> ignored in most cases, but can be relevant in others.

Could you give an example where the whitespace is important in between
tags? My guess would be that leading and trailing whitespace of
content between tags could always be ignored. I'd expect <tag> some
string </tag> to be parsed as "some string" and not " some string ".

And in this
<parent> <child>1234  </child>     </parent>

should be the exact same thing as
<parent><child>1234</child></parent>

That's an important property of markup in general no?

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