Hi Thijs

       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.
        Usually, I would ignore white space, but sometimes, no.

 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?
        Indentation is made of different patterns of white space, thus,
at least in some cases, it is important.

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?
        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?

        Regards,
                Tomás
_______________________________________________
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