From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: nXML gags on XML with one long line Date: Wed, 24 Dec 2014 18:28:22 +0200 Message-ID: <838uhxnhax.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1419438539 11953 80.91.229.3 (24 Dec 2014 16:28:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Dec 2014 16:28:59 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 24 17:28:52 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y3onm-0003kS-I3 for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Dec 2014 17:28:46 +0100 Original-Received: from localhost ([::1]:48837 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y3onl-00044L-Sr for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Dec 2014 11:28:45 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y3onb-00044F-Gl for help-gnu-emacs@gnu.org; Wed, 24 Dec 2014 11:28:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y3onX-0005u5-9f for help-gnu-emacs@gnu.org; Wed, 24 Dec 2014 11:28:35 -0500 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:55159) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y3onX-0005tm-2c for help-gnu-emacs@gnu.org; Wed, 24 Dec 2014 11:28:31 -0500 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NH300M00HPOO000@mtaout26.012.net.il> for help-gnu-emacs@gnu.org; Wed, 24 Dec 2014 18:27:47 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NH300G5PHQBGS60@mtaout26.012.net.il> for help-gnu-emacs@gnu.org; Wed, 24 Dec 2014 18:27:47 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.182 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101714 Archived-At: > From: "Boylan, Ross" > Date: Wed, 24 Dec 2014 09:02:43 +0000 > > I opened a .xml file that was relatively large in GNU Emacs 23.4.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) > of 2012-09-08 on trouble, modified by Debian. This opened in nXML mode, but started using up all the CPU (I think after I asked it to use outline mode) and became unresponsive. Before that it showed a message saying the file was 87% validated (very roughly--from memory) for quite awhile (a minute?), with low CPU use. It did eventually show as completely validated. > > The xml file is one long block of text with no whitespace between entries; in fact, there isn't even a line break at the end of the file. Some of the nXML documentation, specifically on paragraphs, refers to identifying paragraphs by line breaks. Perhaps nXML can't cope with files without newlines? How long is that single long line? Emacs has known problems with displaying very long lines (like tens of thousands of characters). If you visit the file in Fundamental mode, does the problem go away?