From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Mark A. Hershberger" Newsgroups: gmane.emacs.devel Subject: Re: nnrss-node-just-text: Wrong type argument: sequencep, 62 Date: Tue, 30 Nov 2004 23:48:02 -0500 Message-ID: <41AD4D02.2060008@layover.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1272389995==" X-Trace: sea.gmane.org 1101876556 28980 80.91.229.6 (1 Dec 2004 04:49:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Dec 2004 04:49:16 +0000 (UTC) Cc: yamaoka@jpl.org, ascott@sedona.ch.intel.com, bugs@gnus.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 01 05:49:07 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CZMQM-0004dU-00 for ; Wed, 01 Dec 2004 05:49:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CZMZm-0006NU-Mz for ged-emacs-devel@m.gmane.org; Tue, 30 Nov 2004 23:58:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CZMZb-0006Lp-81 for emacs-devel@gnu.org; Tue, 30 Nov 2004 23:58:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CZMZa-0006L8-Ad for emacs-devel@gnu.org; Tue, 30 Nov 2004 23:58:38 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CZMZZ-0006KV-T9 for emacs-devel@gnu.org; Tue, 30 Nov 2004 23:58:37 -0500 Original-Received: from [66.103.147.19] (helo=gromit.layover.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CZMPe-0008Tg-7U for emacs-devel@gnu.org; Tue, 30 Nov 2004 23:48:22 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by gromit.layover.com (Postfix) with ESMTP id 72C031C05446; Tue, 30 Nov 2004 23:48:11 -0500 (EST) Original-Received: from gromit.layover.com ([127.0.0.1]) by localhost (gromit [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04000-10; Tue, 30 Nov 2004 23:48:11 -0500 (EST) Original-Received: from [192.168.0.2] (unknown [24.152.214.116]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by gromit.layover.com (Postfix) with ESMTP id 040201C082EE; Tue, 30 Nov 2004 23:48:10 -0500 (EST) User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) X-Accept-Language: en-us, en Original-To: emacs-devel@gnu.org X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-Virus-Scanned: by amavisd-new-20030616-p10 at layover.com X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:30575 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30575 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============1272389995== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigDA8F4F1A5987EE2903B8AF49" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDA8F4F1A5987EE2903B8AF49 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > (with-temp-buffer > (insert "") > (xml-parse-region (point-min) (point-max))) > => ((rss nil "ding")) > > (with-temp-buffer > (insert " ") > (xml-parse-region (point-min) (point-max))) > => ((rss nil " " 32 103 110 105 100)) > > The latter case seems to have returned a mirrored string as > characters: > > (concat '(32 103 110 105 100)) > => " gnid" > > Is it the intended behavior? No. Patch (beware the line wraps): --- xml.el 7 Oct 2004 18:13:43 -0000 1.39 +++ xml.el 1 Dec 2004 04:44:50 -0000 @@ -371,7 +371,9 @@ (let ((pos (match-end 0))) (unless (search-forward "]]>" nil t) (error "XML: (Not Well Formed) CDATA section does not end anywhere in the document")) - (buffer-substring pos (match-beginning 0)))) + (concat + (buffer-substring pos (match-beginning 0)) + (xml-parse-string)))) ;; DTD for the document ((looking-at "