<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I checked the error report and found that it can not parse the text which contains escape character such like "&nbsp". After googling for a while, I still can not find any solution by using xmerl lib. Is that means xmerl can not do this kind of parsing, or
 there is other built-in solution to parse html?</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks for any replys.<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
below is the error messages:</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>=ERROR REPORT==== 22-Apr-2020::12:16:45.003000 ===<br>
</span>
<div>2868- fatal: {unknown_entity_ref,nbsp}<br>
</div>
<div><br>
</div>
<div>=ERROR REPORT==== 22-Apr-2020::12:16:45.003000 ===<br>
</div>
<div>2778- fatal: error_scanning_entity_ref<br>
</div>
<div><br>
</div>
<div>escript: exception exit: {fatal,<br>
</div>
<div>                    {error_scanning_entity_ref,<br>
</div>
<div>                        {file,file_name_unknown},<br>
</div>
<div>                        {line,126},<br>
</div>
<div>                        {col,60}}}<br>
</div>
<div>  in function  xmerl_scan:fatal/2 (xmerl_scan.erl, line 4124)<br>
</div>
<div>  in call from xmerl_scan:scan_content/11 (xmerl_scan.erl, line 2579)<br>
</div>
<div>  in call from xmerl_scan:scan_element/12 (xmerl_scan.erl, line 2133)<br>
</div>
<div>  in call from xmerl_scan:scan_content/11 (xmerl_scan.erl, line 2605)<br>
</div>
<div>  in call from xmerl_scan:scan_element/12 (xmerl_scan.erl, line 2133)<br>
</div>
<div>  in call from xmerl_scan:scan_content/11 (xmerl_scan.erl, line 2605)<br>
</div>
<div>  in call from xmerl_scan:scan_element/12 (xmerl_scan.erl, line 2133)<br>
</div>
<div>  in call from xmerl_scan:scan_content/11 (xmerl_scan.erl, line 2605)<br>
</div>
<span></span><br>
</div>
</body>
</html>