Skip to content

Instantly share code, notes, and snippets.

@binki
Created July 24, 2017 14:28
Show Gist options
  • Save binki/d2d8da8cbfe4c5b50054ca371f2505c4 to your computer and use it in GitHub Desktop.
Save binki/d2d8da8cbfe4c5b50054ca371f2505c4 to your computer and use it in GitHub Desktop.
“a” is an invalid decimal value
ohnobinki@gibby ~ $ echo '<x>&#a;</x>' | xmllint -
-:1: parser error : CharRef: invalid decimal value
<x>&#a;</x>
^
-:1: parser error : xmlParseCharRef: invalid xmlChar value 0
<x>&#a;</x>
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment