Yes, it should simplify the Henry Minsky wrote:
> One question, does the code that defines DOMParser make it so that the 
> second clause of the "if"
> in LzXMLParser.parseXML is no longer ever needed?
> 
> 
> 
> LzXMLParser.parseXML = function( str, trimwhitespace, stripnsprefix ){
>     #pragma "passThrough=true"
>     // TODO [hqm 05-2006] need to add third arg, STRIPNSPREFIX, to
>     // this method, and to the node copy routine , see the SWF
>     // version below. Eventually the copyXML routine should be common
>     // to both swf and DHTML, with a conditionalized version for IE 
> probably.
>     var doc;
>     if (typeof(DOMParser) != "undefined") {
>         // Mozilla :-)
>         var parser = new DOMParser();
>         doc = parser.parseFromString(str, "text/xml");
>     } else {
>         // IE :-(#
>         doc = new ActiveXObject("Microsoft.XMLDOM");
>         doc.async="false";
>         doc.loadXML(str);
>     }
>     return doc;
> }
> 
> On 7/10/06, *Max Carlson* <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
>     Change change.xqMiCmaaR.txt by [EMAIL PROTECTED]
>     computer.local /Users/maxcarlson/openlaszlo/legals/ on 2006-07-10
>     12:34:32 PDT
> 
>     Summary: Unify sprite destruction code in replication manager, move
>     DomParser from Sprite to LzXMLParser (Henry, perhaps you should use
>     this in Safari and IE)
> 
>     New Features:
> 
>     Bugs Fixed:
> 
>     Technical Reviewer: Henry
>     QA Reviewer: ptw
>     Doc Reviewer: (pending)
> 
>     Documentation:
> 
>     Release Notes:
> 
>     Details:
> 
> 
>     Tests:
> 
>     Files:
>     M      WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
>     M      WEB-INF/lps/lfc/kernel/dhtml/LzXMLParser.js
>     M      WEB-INF/lps/lfc/data/LzReplicationManager.lzs
> 
> 
> 
> 
> 
> -- 
> Henry Minsky
> Software Architect
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> 


_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to