[Sie-announce] SIEコード [1732]

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2010年 3月 14日 (日) 23:20:06 JST


Revision: 1732
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1732
Author:   dhrname
Date:     2010-03-14 23:20:06 +0900 (Sun, 14 Mar 2010)

Log Message:
-----------


Modified Paths:
--------------
    branches/ufltima/dom/svg.js

Modified: branches/ufltima/dom/svg.js
===================================================================
--- branches/ufltima/dom/svg.js	2010-03-14 12:47:21 UTC (rev 1731)
+++ branches/ufltima/dom/svg.js	2010-03-14 14:20:06 UTC (rev 1732)
@@ -1110,8 +1110,10 @@
       xmlhttp.setRequestHeader("X-Requested-With", "XMLHttpRequest");
       xmlhttp.onreadystatechange = function() {
         if (xmlhttp.readyState === 4  &&  xmlhttp.status === 200) {
-          //responsXMLはDTD処理を行う可能性があるため、ここでは使わない
           /*SVGDocument*/ objei.getSVGDocument = function(){
+            /*responseXMLを使うと、時々、空のデータを返すことがあるため(原因は不明)、
+             *ここでは、responseTextを用いる
+             */
             var doc = new ActiveXObject("MSXML2.DomDocument");
             str = xmlhttp.responseText.replace(/!DOCTYPE/,"!--").replace(/(dtd">|\]>)/,"-->");
             doc.loadXML(str);




Sie-announce メーリングリストの案内
Back to archive index