DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25227>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25227 StringEscapeUtils.unescapeHtml() doesn't handle hex entities Summary: StringEscapeUtils.unescapeHtml() doesn't handle hex entities Product: Commons Version: 2.0 Final Platform: PC OS/Version: All Status: NEW Severity: Major Priority: Other Component: Lang AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Pass a string into the unescapeHtml() method that contains a hex entity (i.e. · instead of ·) and you will get a NumberFormatException. The offending code is in Entity.java, line 690. It should check whether the character after the # is 'x' and if so, prefix it with '0' and call Integer.decode().intValue() (or some other hex converting function). Hex entities are valid HTML (http://www.htmlhelp.com/reference/html40/entities/latin1.html) so this should be supported. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
