Author: hqm
Date: 2007-11-02 13:09:58 -0700 (Fri, 02 Nov 2007)
New Revision: 7104
Modified:
openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataText.lzs
Log:
Change 20071102-hqm-a by [EMAIL PROTECTED] on 2007-11-02 16:08:28 EDT
in /cygdrive/c/users/hqm/openlaszlo/trunk2/WEB-INF/lps/lfc
for http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc
Summary: LzDataText node gets nodeName of '#text'
New Features:
Bugs Fixed: LPP-4724
Technical Reviewer: pbr
QA Reviewer: andre
Doc Reviewer: jsundman
Documentation:
Data text nodes (LzDataText) now return a value of '#text' for their node name,
to comply
with DOM standards.
Release Notes:
Details:
Tests:
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataText.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataText.lzs 2007-11-02
19:57:28 UTC (rev 7103)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataText.lzs 2007-11-02
20:09:58 UTC (rev 7104)
@@ -38,6 +38,14 @@
* and can raise a DOMException object on retrieval. */
var nodeType = LzDataNode.TEXT_NODE;
+/** The name of this node.
+ * According to W3C-specs, nodeName for LzDataText should return
+ * "#text", see
+ *
"http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-1841493061"
+ * @type String
+ */
+var nodeName = '#text';
+
setters.data = "setData";
/** The data held by this node.
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins