From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: Saving markup formats Date: Mon, 18 Jun 2007 00:13:10 +0200 Message-ID: <4675B1F6.60100@gmail.com> References: <871wgi9jzb.fsf@jidanni.org> <87odjlwpu1.fsf@jurta.org> <87ir9r1m99.fsf@jurta.org> <87myz2i9tj.fsf@jurta.org> <87r6ocx0tk.fsf_-_@jurta.org> <87vedmtnsz.fsf@jurta.org> <87vedmnvaf.fsf@kanga.tapsellferrier.co.uk> <4675A519.202@gmail.com> <87r6oafdkf.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1182118401 20940 80.91.229.12 (17 Jun 2007 22:13:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 17 Jun 2007 22:13:21 +0000 (UTC) Cc: Oliver Scholz , nferrier@tapsellferrier.co.uk, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 18 00:13:20 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 1I02zn-0002xW-Gs for ged-emacs-devel@m.gmane.org; Mon, 18 Jun 2007 00:13:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I02zm-0000UB-V9 for ged-emacs-devel@m.gmane.org; Sun, 17 Jun 2007 18:13:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I02zj-0000U6-Lw for emacs-devel@gnu.org; Sun, 17 Jun 2007 18:13:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I02zi-0000Tt-Je for emacs-devel@gnu.org; Sun, 17 Jun 2007 18:13:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I02zi-0000Tq-GA for emacs-devel@gnu.org; Sun, 17 Jun 2007 18:13:14 -0400 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1I02zi-0002dv-3N for emacs-devel@gnu.org; Sun, 17 Jun 2007 18:13:14 -0400 Original-Received: from c83-254-133-189.bredband.comhem.se ([83.254.133.189]:64953 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.66) (envelope-from ) id 1I02zf-0003RY-4U; Mon, 18 Jun 2007 00:13:11 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070604 Thunderbird/2.0.0.4 Mnenhy/0.7.5.666 In-Reply-To: <87r6oafdkf.fsf@jurta.org> X-Antivirus: avast! (VPS 000749-2, 2007-06-16), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.133.189 X-Scan-Result: No virus found in message 1I02zf-0003RY-4U. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1I02zf-0003RY-4U 3e748c49c55c7ed11ebb02467ee8cf71 X-detected-kernel: Linux 2.6? (barebone, rare!) 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:73183 Archived-At: Juri Linkov wrote: >>> A good embedded XML parser would be needed. I've thought about taking >>> time out to add libxml2 support natively to emacs. That would do the >>> job very well. >> Did you try nxml-mode? > > Do you mean `nxml-parse-file'? I find it more restrictive than > `xml-parse-file' from xml.el. It fails on more XML files. No, I meant using nxml-mode. It parses the buffer as you type. But maybe that does not fit what you are searching for. > Do you know a tidy-like XML parser for Emacs that would correct > not well-formed XML and not choke on them? Sorry, no. But nxml-mode has the ability to continue parsing after an error. It just marks the errors (with red underlines) in the buffer however, it does not correct them. That parser, an rng-parser, is very tightly coupled with nxml-mode however. I suggested earlier to break it up to make it easier to handle multiple modes.