From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Texinfo XML support in Emacs Info browser Date: Mon, 04 Jun 2007 01:47:45 +0300 Organization: JURTA Message-ID: <87abvgd4aq.fsf@jurta.org> References: <200706032123.l53LN7l22641@f7.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1180913498 6501 80.91.229.12 (3 Jun 2007 23:31:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 3 Jun 2007 23:31:38 +0000 (UTC) Cc: ttn@gnuvola.org, emacs-devel@gnu.org To: karl@freefriends.org (Karl Berry) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 04 01:31:37 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 1HuzXr-0008Vd-B2 for ged-emacs-devel@m.gmane.org; Mon, 04 Jun 2007 01:31:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HuzXq-0006d4-Ae for ged-emacs-devel@m.gmane.org; Sun, 03 Jun 2007 19:31:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HuzXm-0006c0-JZ for emacs-devel@gnu.org; Sun, 03 Jun 2007 19:31:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HuzXk-0006aC-VF for emacs-devel@gnu.org; Sun, 03 Jun 2007 19:31:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HuzXk-0006a9-PH for emacs-devel@gnu.org; Sun, 03 Jun 2007 19:31:28 -0400 Original-Received: from smarty.dreamhost.com ([208.113.175.8]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HuzXk-0004Hs-DQ for emacs-devel@gnu.org; Sun, 03 Jun 2007 19:31:28 -0400 Original-Received: from schnapps.dreamhost.com (apache2-noxim.schnapps.dreamhost.com [208.113.175.112]) by smarty.dreamhost.com (Postfix) with ESMTP id 0B54DEE23B; Sun, 3 Jun 2007 16:31:28 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by schnapps.dreamhost.com (Postfix) with ESMTP id A588EA86F8; Sun, 3 Jun 2007 16:31:27 -0700 (PDT) In-Reply-To: <200706032123.l53LN7l22641@f7.net> (Karl Berry's message of "Sun\, 3 Jun 2007 16\:23\:07 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) 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:72165 Archived-At: > How about fixing xml-parse-file so that it can be "permissive"? > It seems rather strange to use regexps when something was developed > specifically to parse XML files. Not that it's my call. I like xml-parse-file approach, but I doubt that xml-parse-file can be fixed to parse non-well-formed XML. After fixing bugs in makeinfo we can achieve the state when Texinfo XML output of makeinfo is well-formed, so we could completely rely on correctness of its output, and use xml-parse-file. Using XML structures from xml-parse-file is very different approach from using text-based Info files and poses many interesting problems. For example, how to search manuals for a regexp. One solution is to traverse the XML tree and to match its text elements. But what to do with text split between different XML elements? Another solution is to search a regexp in the rendered text of all nodes. -- Juri Linkov http://www.jurta.org/emacs/