[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nXML gags on XML with one long line
From: |
Yuri Khan |
Subject: |
Re: nXML gags on XML with one long line |
Date: |
Wed, 24 Dec 2014 18:41:23 +0700 |
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.