From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: nXML gags on XML with one long line Date: Wed, 24 Dec 2014 18:41:23 +0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1419421306 17688 80.91.229.3 (24 Dec 2014 11:41:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Dec 2014 11:41:46 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: "Boylan, Ross" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 24 12:41:39 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 1Y3kJs-0003mO-UN for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Dec 2014 12:41:37 +0100 Original-Received: from localhost ([::1]:47828 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y3kJs-0003RT-9g for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Dec 2014 06:41:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y3kJh-0003RM-EF for help-gnu-emacs@gnu.org; Wed, 24 Dec 2014 06:41:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y3kJg-0006lL-FE for help-gnu-emacs@gnu.org; Wed, 24 Dec 2014 06:41:25 -0500 Original-Received: from mail-ie0-x22a.google.com ([2607:f8b0:4001:c03::22a]:45146) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y3kJg-0006lG-AA for help-gnu-emacs@gnu.org; Wed, 24 Dec 2014 06:41:24 -0500 Original-Received: by mail-ie0-f170.google.com with SMTP id rd18so7579213iec.1 for ; Wed, 24 Dec 2014 03:41:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=qahjr2KhwuUu+EdJ7UDmPsk0mibfMYNZvfyyCQ1AH9o=; b=UQLunx9W6wxkePMf/JgMLq+trEmPWlCbWmkcFMn5yTK7UBkn78Vze7ER+BZYlVfDIV abyTF6rhbaQJ3k5q+OvENl/OZGk93vw13k7olfHRIHLVLFq0TC48/2uzYtGrSVmi2NcT dk3gYLwjnch5lx2hcaHH4JnxOV8fizRDrmFdDB0aIAnXSQuNQdvd5NpDAN2qiU5h8nIR SmI18ul1WNu2xohhDVharF5ERKmKSPAJwzzclOl3SGwMSH9oECTXM4hLrwHTVPR1Ae/z 51l6kHsqVCnantz7vlnuoZTShUjPl6AnjJnSHtbohBzVH7Bw9IVEo9MFz47DLP+eoM/F J2ng== X-Received: by 10.107.152.144 with SMTP id a138mr30653477ioe.39.1419421283290; Wed, 24 Dec 2014 03:41:23 -0800 (PST) Original-Received: by 10.107.48.82 with HTTP; Wed, 24 Dec 2014 03:41:23 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: RogD5AeiY6NUxezShjmsRz9Lqys X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::22a 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:101708 Archived-At: On Wed, Dec 24, 2014 at 3:02 PM, Boylan, Ross wrote: > any suggestions for how to deal with the file, or at least debug the problem? > > $ wc KHC-Endnote2.xml # the file referred to above > 0 344068 4883375 KHC-Endnote2.xml If that particular xml schema is not whitespace-sensitive, you might work around the problem by pretty-printing the file first. $ xmlstarlet format KHC-Endnote2.xml > KHC-Endnote2.formatted.xml This will add plenty of newlines for nXML to rest upon. Turning off global-font-lock-mode (before opening the file) may also help.