The HFE module parses an HTML Form under the the assumption that the content of the form is xml data (that is, htmlform.getXhtmlData() must be valid XML).
However, the common HTML character code,
is NOT valid XML. Therefore, whenever the HtmlFormEntryUtil.stringToDocument() method is used to parse a form with this character code, an exception is thrown.
The workaround is to use the ascii character code for a blank space:
However, it would be nice to allow the HFE module to be handle forms that contain common character codes.
Possible ways to handle this:
1) Manually do a search-and-replace to change
2) Figure out how to modify the DocumentBuidler created in HtmlFormEntryUtil.stringToDocument() so that it recognizes the
entity... ie., modify the DTD that the parser uses for verification so that the equivalent of
is included in the DTD.