Closed wouterbeek closed 7 years ago
It comes from loading the HTML DTD in an XML context, not from the document itself. Not sure what to think about this. xhtml is dead anyway ...
I ran into the exact same issue on other sites and would greatly appreciate if this warning were also silenced. For example, I need HTML parsing in cronjobs, and currently I must use:
swipl parse_html.pl &> /dev/null
to suppress such output.
The severe drawback: This also suppresses other output that is far more important, such as if the swipl
executable is not found.
Fixed with 46e48182ab03ac4ac8fd8bbfcd70c276bc780858
Syntax error messages cannot be silenced for
load_html/3
.Reproducible example: