Repository: flex-asjs
Updated Branches:
  refs/heads/e4x 40d5bf39e -> 62e69f50d


Fixed QName toString()


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

Branch: refs/heads/e4x
Commit: 62e69f50dde645d2ed614d7989916ca212bc471c
Parents: 40d5bf3
Author: Harbs <[email protected]>
Authored: Sun Apr 10 17:56:34 2016 +0300
Committer: Harbs <[email protected]>
Committed: Sun Apr 10 17:56:34 2016 +0300

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


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/62e69f50/frameworks/projects/XML/src/main/flex/QName.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/src/main/flex/QName.as 
b/frameworks/projects/XML/src/main/flex/QName.as
index c6886aa..70298f9 100644
--- a/frameworks/projects/XML/src/main/flex/QName.as
+++ b/frameworks/projects/XML/src/main/flex/QName.as
@@ -100,7 +100,8 @@ package
                COMPILE::JS
                public function toString():String
                {
-                       return _localName;
+                       var uriVal:String = _uri ? _uri : "*";
+                       return uriVal + "::" + _localName;
                }
 
                COMPILE::JS

Reply via email to