From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Texinfo XML support in Emacs Info browser Date: Sun, 03 Jun 2007 17:27:21 -0400 Message-ID: References: <87r6ouot6c.fsf@jurta.org> <87vee51imv.fsf@ambire.localdomain> <87odjxmk8n.fsf@jurta.org> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1180906146 20237 80.91.229.12 (3 Jun 2007 21:29:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 3 Jun 2007 21:29:06 +0000 (UTC) Cc: karl@gnu.org, ttn@gnuvola.org, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 03 23:29:04 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HuxdG-0007sz-G7 for ged-emacs-devel@m.gmane.org; Sun, 03 Jun 2007 23:29:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HuxdF-0003Fi-VC for ged-emacs-devel@m.gmane.org; Sun, 03 Jun 2007 17:29:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Huxbx-0000B1-Pv for emacs-devel@gnu.org; Sun, 03 Jun 2007 17:27:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Huxbx-0000Ae-9P for emacs-devel@gnu.org; Sun, 03 Jun 2007 17:27:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Huxbx-0000AY-5j for emacs-devel@gnu.org; Sun, 03 Jun 2007 17:27:41 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Huxbw-0000kU-Un for emacs-devel@gnu.org; Sun, 03 Jun 2007 17:27:41 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1Huxbd-00061D-4O; Sun, 03 Jun 2007 17:27:21 -0400 In-reply-to: <87odjxmk8n.fsf@jurta.org> (message from Juri Linkov on Sun, 03 Jun 2007 12:59:36 +0300) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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: news.gmane.org gmane.emacs.devel:72148 Archived-At: This is the exact reason why I leaned toward using regexps instead of xml-parse-file. In my first attempt to use xml-parse-file I discovered that `makeinfo --xml' sometimes produces non-wellformed XML, so we can't parse it with xml-parse-file. Even if this will be fixed in the future releases of makeinfo, old versions still produce invalid XML output. I don't think we need to cater to the buggy makeinfo. This is a long-term issue, and in the long-term we can fix makeinfo. That doesn't mean your regexp-based approach is bad. Would you please report the makeinfo bugs to bug-texinfo? That is very important.