unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Yuri Khan <yuri.v.khan@gmail.com>
To: "Boylan, Ross" <Ross.Boylan@ucsf.edu>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: nXML gags on XML with one long line
Date: Wed, 24 Dec 2014 18:41:23 +0700	[thread overview]
Message-ID: <CAP_d_8VNC0UuuV==oVoFMAUWaK0F6ODiKAKw-m2yd-gx6gXHXQ@mail.gmail.com> (raw)
In-Reply-To: <F1F13E14A610474196571953929C020964FE8A@ex08.net.ucsf.edu>

On Wed, Dec 24, 2014 at 3:02 PM, Boylan, Ross <Ross.Boylan@ucsf.edu> 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.



  reply	other threads:[~2014-12-24 11:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-24  9:02 nXML gags on XML with one long line Boylan, Ross
2014-12-24 11:41 ` Yuri Khan [this message]
2014-12-24 16:28 ` Eli Zaretskii
2014-12-24 20:08   ` Boylan, Ross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAP_d_8VNC0UuuV==oVoFMAUWaK0F6ODiKAKw-m2yd-gx6gXHXQ@mail.gmail.com' \
    --to=yuri.v.khan@gmail.com \
    --cc=Ross.Boylan@ucsf.edu \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).