[Laszlo-checkins] r12271 - in openlaszlo/trunk/WEB-INF/lps/lfc/kernel: dhtml swf9
bargull@openlaszlo.org
bargull at openlaszlo.org
Tue Dec 30 14:21:06 PST 2008
Author: bargull
Date: 2008-12-30 14:21:03 -0800 (Tue, 30 Dec 2008)
New Revision: 12271
Modified:
openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzXMLTranslator.js
openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LzXMLTranslator.as
Log:
Change 20081230-bargull-Pvj by bargull at dell--p4--2-53 on 2008-12-30 17:00:14
in /home/Admin/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: add implicit null-ownerDocument/parentNode
New Features:
Bugs Fixed: LPP-7537
Technical Reviewer: hminsky
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Create a new, empty data-element and make it the parent of the parsed data-element.
Tests:
see bugreport
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzXMLTranslator.js
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzXMLTranslator.js 2008-12-30 21:43:30 UTC (rev 12270)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzXMLTranslator.js 2008-12-30 22:21:03 UTC (rev 12271)
@@ -18,7 +18,10 @@
stringTrimPat: new RegExp("^\\s+|\\s+$", "g"),
copyXML: function (xmldoc, trimwhitespace, nsprefix) {
- return this.copyBrowserXML(xmldoc, true, trimwhitespace, nsprefix);
+ var lfcnode = this.copyBrowserXML(xmldoc, true, trimwhitespace, nsprefix);
+ // create a new, empty ownerDocument (LPP-7537)
+ new LzDataElement(null, {}, [lfcnode]);
+ return lfcnode;
},
copyBrowserXML: function (node, ignorewhite, trimwhite, nsprefix) {
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LzXMLTranslator.as
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LzXMLTranslator.as 2008-12-30 21:43:30 UTC (rev 12270)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LzXMLTranslator.as 2008-12-30 22:21:03 UTC (rev 12271)
@@ -22,7 +22,8 @@
if (lfcnode is LzDataText) {
return null;
}
-
+ // create a new, empty ownerDocument (LPP-7537)
+ new LzDataElement(null, {}, [lfcnode]);
return (lfcnode cast LzDataElement);
}
More information about the Laszlo-checkins
mailing list