xmllint --html exit code 0

revision 3ac49d19d6bae70ef7d53f8b9acb838855c0b0bb

raw

html-partial-error.htm

1
2
3
4
5
<div class="foo">
 <h1>Hallo</h2>
 <span>Bar</span>
</div>
 
raw

out.txt

$ xmllint --html --noout html-partial-error.htm; echo $?
tests/files/html-partial-error.htm:2: HTML parser error : Unexpected end tag : h2
 <h1>Hallo</h2>
               ^
0

History