Eric Lilja wrote:
Convey meaning? To whom? The parser? I had no idea. I just know that
xml-mode and nxml-mode indents the example file differently and I like
the old mode does better. Are you saying it affects validation and
what you get when you parse the file?
It won't affect validation as whitespace does not affect the validity of
the xml, but it will affect the result of evaluating the XPath
expression //foo/text(). Both behaviours are bugs if the text is being
indented without the user explicitly indenting it, the default should be
to leave the text unindented. Many applications will normalize
whitespace before using the text, but that is outside of the XML
parser's scope.