all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: xml-parse-region broken?
Date: Thu, 31 Aug 2006 22:35:35 -0400	[thread overview]
Message-ID: <jwv1wqw8gci.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <7iy7t4fhoo.fsf@lanthane.pps.jussieu.fr> (Juliusz Chroboczek's message of "Fri, 01 Sep 2006 04:23:51 +0200")

>>> Try doing:
>>> (require 'xml)
>>> (with-temp-buffer
>>> (insert "<a>\n</a>\n")
>>> (xml-parse-region 1 (point-max)))

>>> With 21.4.1, this gives ((a nil)).  With 22.0.50.1 (Debian version
>>> 1:20060824-1), it gives ((a nil "\n")).

>> In what way is that "broken"?

> The result with 21.4.1 is correct.  The one with 22.0.50.1 is broken.

> Sorry for not being explicit.

I understood this part, but I don't know in what sense is the new
behavior broken.  The text bracketed by <a> ... </a> is indeed "\n",
isn't it?


        Stefan

  reply	other threads:[~2006-09-01  2:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-01  0:16 xml-parse-region broken? Juliusz Chroboczek
2006-09-01  2:17 ` Stefan Monnier
2006-09-01  2:23   ` Juliusz Chroboczek
2006-09-01  2:35     ` Stefan Monnier [this message]
2006-09-01 13:50       ` Juliusz Chroboczek
2006-09-01 17:12         ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv1wqw8gci.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.