On Fri, Feb 17, 2012, at 11:35 AM, Dominic Cleal wrote: > 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?
Aha! That was it - thanks! So I guess this is a bug on my side, since XML files should use unix line endings? Okay to file an RFE for a nicer error? -- http://www.fastmail.fm - A fast, anti-spam email service. _______________________________________________ augeas-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/augeas-devel
