[xmljs-users] Encoding/Unencoding issues
Brought to you by:
djoham,
witchhunter
From: <Rob...@Hy...> - 2004-03-10 23:07:43
|
A few items: - More immediate is that all of the unescape code (there are several in the SAX and DOM files) should move the ampersand replacement after <, >, " and ' to avoid: 1) original: "put an < in the sentence" 2) encode(&): "put an &lt; in the sentence" 3) unencode(&): "put an < in the sentence" unencode(<): put an < in the sentence - Moving forward the escape/unescape code should be reworked so that it is converted in a single pass, as multiple passes can cause invalid conversion. Also, code needs to be added to handle &#hex; and &numeric; syntax. There are a host of other entities to be recognized, but they may be HTML specific (like '). If someone is working on this or has some could that was started please let me know, otherwise I will try to write it and submit it to the project. Thanks. ************************************************************************ If you have received this e-mail in error, please delete it and notify the sender as soon as possible. The contents of this e-mail may be confidential and the unauthorized use, copying, or dissemination of it and any attachments to it, is prohibited. Internet communications are not secure and Hyperion does not, therefore, accept legal responsibility for the contents of this message nor for any damage caused by viruses. The views expressed here do not necessarily represent those of Hyperion. For more information about Hyperion, please visit our Web site at www.hyperion.com |