I can't see what I am doing wrong. Can anyone help?
$ cat /tmp/web.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>Tomcat Documentation</display-name>
<description>
Tomcat Documentation.
</description>
</web-app>
$ xmlstarlet val /tmp/web.xml
/tmp/web.xml - valid
$ augtool
augtool> set /augeas/load/xml/lens "Xml.lns"
augtool> set /augeas/load/xml/incl /tmp/web.xml
augtool> load
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"
/augeas/files/tmp/web.xml/error/lens =
"/usr/share/augeas/lenses/dist/xml.aug:133.10-135.60:"
/augeas/files/tmp/web.xml/error/message = "Syntax error"
--
Biltong
[email protected]
--
http://www.fastmail.fm - The professional email service
_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel