[xmljs-users] (no subject)
Brought to you by:
djoham,
witchhunter
From: <Rob...@Hy...> - 2004-03-26 18:53:02
|
David, I've been busy the rest of this month and will try to get you the test cases for the escaping/unescaping you were looking for. In the meantime though, two of the fixes I posted were not in 3.1. Not sure who maintains these files but here they are again. 1) EMPTY ELEMENT SERIALIZATION INVALID - the last few lines of DOMElement.toString should be like this to avoid unintended text nodes: ret += "<" + this.nodeName + ns + attrs; if (this.childNodes.length > 0) { ret += ">"; ret += this.childNodes.toString(); ret += "</" + this.nodeName + ">"; } else { ret += " />"; } 2) UNESCAPING OF AMPERSAND S/B LAST - ampersand needs to be done last in __unescapeString in xmlsax.js to avoid the following: Escape Use < when specifying < Use &lt; when specifying < Use &lt; when specifying < Unescape Use &lt; when specifying < Use < when specifying < Use < when specifying < ************************************************************************ 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 |