[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in nxml-mode (indentation)?
From: |
Jason Rumney |
Subject: |
Re: Bug in nxml-mode (indentation)? |
Date: |
Tue, 18 Dec 2007 09:38:02 +0000 |
User-agent: |
Thunderbird 2.0.0.9 (Windows/20071031) |
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.
- Bug in nxml-mode (indentation)?, Eric Lilja, 2007/12/17
- Re: Bug in nxml-mode (indentation)?, Mark A. Hershberger, 2007/12/17
- Re: Bug in nxml-mode (indentation)?, Eric Lilja, 2007/12/18
- Re: Bug in nxml-mode (indentation)?,
Jason Rumney <=
- Re: Bug in nxml-mode (indentation)?, Eric Lilja, 2007/12/18
- Re: Bug in nxml-mode (indentation)?, Jason Rumney, 2007/12/18
- Re: Bug in nxml-mode (indentation)?, Eric Lilja, 2007/12/18
- Re: Bug in nxml-mode (indentation)?, Jason Rumney, 2007/12/18
- Re: Bug in nxml-mode (indentation)?, Eric Lilja, 2007/12/18
- Re: Bug in nxml-mode (indentation)?, Edward O'Connor, 2007/12/18
- Re: Bug in nxml-mode (indentation)?, Eric Lilja, 2007/12/18
- Re: Bug in nxml-mode (indentation)?, Edward O'Connor, 2007/12/20
- Re: Bug in nxml-mode (indentation)?, Lennart Borgman (gmail), 2007/12/18
Re: Bug in nxml-mode (indentation)?, Stefan Monnier, 2007/12/20