<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>xmerl and standard HTML entity refs</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>

<P><FONT SIZE=2 FACE="Arial">I just noticed that xmerl_scan only recognizes the very limited set of entity references that I coded for back in 2000. (-:</FONT></P>

<P><FONT SIZE=2 FACE="Arial">(This limited set happens to be the only predefined entity refs in the XML 1.0 standard, so that isn't a bug per se.)</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Is there any plan to include recognition of standard HTML entity refs, such as nbsp, iexcl, pound, frac14, etc.?</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial">16> edoc:file("exprecs.erl").</FONT>

<BR><FONT SIZE=2 FACE="Arial">2670- fatal: {unknown_entity_ref,nbsp}</FONT>

<BR><FONT SIZE=2 FACE="Arial">2580- fatal: error_scanning_entity_ref</FONT>

<BR><FONT SIZE=2 FACE="Arial">exprecs.erl, in module header: at line 28: error in XML parser: {fatal,</FONT>

<BR><FONT SIZE=2 FACE="Arial">                         {error_scanning_entity_ref,</FONT>

<BR><FONT SIZE=2 FACE="Arial">                             {file,file_name_unknown},</FONT>

<BR><FONT SIZE=2 FACE="Arial">                             {line,86},</FONT>

<BR><FONT SIZE=2 FACE="Arial">                             {col,18}}}.</FONT>

<BR><FONT SIZE=2 FACE="Arial">** exited: error **</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I realize that xmerl can be customized with a rules function which, for example, can handle entity references, but in this case, I was kinda hoping that edoc would allow me to use some standard HTML entity refs, and it currently doesn't.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">I think edoc should handle the standard HTML entity references. One way to do this is to extend xmerl to handle them, perhaps through a special XHTML parsing function.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">BR,</FONT>

<BR><FONT SIZE=2 FACE="Arial">Ulf W</FONT>
</P>

</BODY>
</HTML>