svnno****@sourc*****
svnno****@sourc*****
2010年 4月 13日 (火) 21:22:15 JST
Revision: 1792 http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1792 Author: dhrname Date: 2010-04-13 21:22:15 +0900 (Tue, 13 Apr 2010) Log Message: ----------- importNodeメソッドの修正 Modified Paths: -------------- branches/ufltima/core.js Modified: branches/ufltima/core.js =================================================================== --- branches/ufltima/core.js 2010-04-12 14:29:00 UTC (rev 1791) +++ branches/ufltima/core.js 2010-04-13 12:22:15 UTC (rev 1792) @@ -865,7 +865,9 @@ i = attr = att = atli = n = ch = chli = null; break; case Node.ATTRIBUTE_NODE: - s = this.createAttributeNS(importedNode.namespaceURI, importedNode.nodeName); + var uri = importedNode.namespaceURI; + uri = (uri === "") ? null : uri; //空文字列はnullとして扱うようにする(MSXMLがから文字列を返す時の対策) + s = this.createAttributeNS(uri, importedNode.nodeName); s.nodeValue = importedNode.nodeValue; break; case Node.TEXT_NODE: