This is an automated email from the ASF dual-hosted git repository. aharui pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push: new 52fb132 fix QName Namespace lookups to match new format 52fb132 is described below commit 52fb132168eede607b6615093ae58b99046837a9 Author: Alex Harui <aha...@apache.org> AuthorDate: Thu Dec 27 02:01:34 2018 -0800 fix QName Namespace lookups to match new format --- frameworks/projects/Language/src/main/royale/QName.as | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frameworks/projects/Language/src/main/royale/QName.as b/frameworks/projects/Language/src/main/royale/QName.as index fe34d5f..f19d57d 100644 --- a/frameworks/projects/Language/src/main/royale/QName.as +++ b/frameworks/projects/Language/src/main/royale/QName.as @@ -108,7 +108,10 @@ package public function toString():String { var uriVal:String = _uri ? _uri : "*"; - return uriVal + "::" + _localName; + uriVal = uriVal.replace(/:/g, "_"); + uriVal = uriVal.replace(/\./g, "_"); + uriVal = uriVal.replace(/\//g, "$"); + return uriVal + "__" + _localName; } COMPILE::JS