You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Devsena (JIRA)" <ji...@apache.org> on 2017/04/03 16:52:41 UTC
[jira] [Commented] (FLEX-35203) XML() class is broken javascript
mode in 0.8 dev
[ https://issues.apache.org/jira/browse/FLEX-35203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15953799#comment-15953799 ]
Devsena commented on FLEX-35203:
--------------------------------
I gave a test with latest development source of FlexJS in a MDL project, and I confirm I able to get an online XML file with HTTPService class and convert the fetched data as an XML and display XML.toXMLString() to a MDL TextField.
Thanks!
> XML() class is broken javascript mode in 0.8 dev
> ------------------------------------------------
>
> Key: FLEX-35203
> URL: https://issues.apache.org/jira/browse/FLEX-35203
> Project: Apache Flex
> Issue Type: Bug
> Components: FlexJS
> Affects Versions: Apache FlexJS 0.7.0, Apache FlexJS 0.8.0
> Reporter: Pan Li
> Assignee: Alex Harui
> Fix For: Apache FlexJS 0.8.0
>
> Attachments: Test1.js, XMLError.png
>
>
> {code}
> <fx:Script>
> <![CDATA[
>
> var foo : XML = new XML();
>
> ]]>
> </fx:Script>
> {code}
> above code result in runtime javascript error
> Uncaught ReferenceError: XML is not defined
> the same code works in swf mode
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)