This is an automated email from the ASF dual-hosted git repository.

harbs 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 6a71ca7  When testing for attributes the QName needs to be an attribute
6a71ca7 is described below

commit 6a71ca7e2a6dcf05e3031af5577edfb888c781e4
Author: Harbs <[email protected]>
AuthorDate: Thu Nov 28 18:10:57 2019 +0200

    When testing for attributes the QName needs to be an attribute
---
 frameworks/projects/XML/src/main/royale/XML.as | 1 +
 1 file changed, 1 insertion(+)

diff --git a/frameworks/projects/XML/src/main/royale/XML.as 
b/frameworks/projects/XML/src/main/royale/XML.as
index 1f1a247..8bdc99e 100644
--- a/frameworks/projects/XML/src/main/royale/XML.as
+++ b/frameworks/projects/XML/src/main/royale/XML.as
@@ -1362,6 +1362,7 @@ package
                        else
                        {
                                name = new QName(nameOrXML);
+                               name.setIsAttribute(true);
                        }
                        var i:int;
                        var len:int = attributeLength();

Reply via email to