flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject git commit: [flex-asjs] [refs/heads/e4x] - Fixed Namespace URI type
Date Thu, 18 Feb 2016 12:29:08 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/e4x 7ed59b560 -> fe4f9c1bf


Fixed Namespace URI type


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/fe4f9c1b
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/fe4f9c1b
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/fe4f9c1b

Branch: refs/heads/e4x
Commit: fe4f9c1bf8e1c61d1726f4c6c8ba026df210a2fd
Parents: 7ed59b5
Author: Harbs <harbs@in-tools.com>
Authored: Thu Feb 18 14:29:04 2016 +0200
Committer: Harbs <harbs@in-tools.com>
Committed: Thu Feb 18 14:29:04 2016 +0200

----------------------------------------------------------------------
 frameworks/projects/XML/src/main/flex/XML.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fe4f9c1b/frameworks/projects/XML/src/main/flex/XML.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/src/main/flex/XML.as b/frameworks/projects/XML/src/main/flex/XML.as
index a611db0..cec9faf 100644
--- a/frameworks/projects/XML/src/main/flex/XML.as
+++ b/frameworks/projects/XML/src/main/flex/XML.as
@@ -307,7 +307,7 @@ package
 			{
 				var parser:DOMParser = new DOMParser();
 				// get error namespace. It's different in different browsers.
-				var errorNS:Element = parser.parseFromString('<', 'application/xml').getElementsByTagName("parsererror")[0].namespaceURI;
+				var errorNS:String = parser.parseFromString('<', 'application/xml').getElementsByTagName("parsererror")[0].namespaceURI;
 
 				var doc:Document = parser.parseFromString(xml, "application/xml");
 


Mime
View raw message