[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [augeas-devel] augtool is choking on xml - help!



On 17/02/12 11:24, Biltong wrote:
> I can't see what I am doing wrong. Can anyone help?
>
> $ cat /tmp/web.xml
> <?xml version="1.0" encoding="ISO-8859-1"?>
[snip]
> augtool> print /augeas/files/tmp/web.xml/error
> /augeas/files/tmp/web.xml/error = "parse_failed"
> /augeas/files/tmp/web.xml/error/pos = "43"
> /augeas/files/tmp/web.xml/error/line = "1"
> /augeas/files/tmp/web.xml/error/char = "43"

Does the file have Windows/DOS style line endings?  Try dos2unix?

-- 
Dominic Cleal
Red Hat Consulting
m: +44 (0)7817 878113



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]