flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Anderson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-35203) XML() class is broken javascript mode in 0.8 dev
Date Mon, 19 Dec 2016 18:27:58 GMT

    [ https://issues.apache.org/jira/browse/FLEX-35203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15761911#comment-15761911
] 

Joel Anderson commented on FLEX-35203:
--------------------------------------

The above output is from the MacOS Terminal, but it looks like the command was lost.

I was also still using the nightly build for 2016/12/16.  I downloaded the latest nightly
build, and now I do not see the "goog" warnings.

Here is my command and output with the latest nightly build:
{noformat}
host-0653jcamacminiprominicnet:TestFlex35203 joelanderson$ $FLEX_HOME/js/bin/mxmlc src/TestFlex35203.mxml

Using Falcon codebase: /Users/joelanderson/Downloads/MoonshineSDKs/apache-flexjs-nightly-2016-12-19/js/bin/../..
Using Flex SDK: /Users/joelanderson/Downloads/MoonshineSDKs/apache-flexjs-nightly-2016-12-19
Compiling file: /Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/TestFlex35203.js
using SWC: /Users/joelanderson/Downloads/MoonshineSDKs/apache-flexjs-nightly-2016-12-19/frameworks/libs/player/23.0/playerglobal.swc
using SWC: /Users/joelanderson/Downloads/MoonshineSDKs/apache-flexjs-nightly-2016-12-19/frameworks/libs/Binding.swc
using SWC: /Users/joelanderson/Downloads/MoonshineSDKs/apache-flexjs-nightly-2016-12-19/frameworks/libs/Charts.swc
using SWC: /Users/joelanderson/Downloads/MoonshineSDKs/apache-flexjs-nightly-2016-12-19/frameworks/libs/Collections.swc
using SWC: /Users/joelanderson/Downloads/MoonshineSDKs/apache-flexjs-nightly-2016-12-19/frameworks/libs/Core.swc
using SWC: /Users/joelanderson/Downloads/MoonshineSDKs/apache-flexjs-nightly-2016-12-19/frameworks/libs/CreateJS.swc
using SWC: /Users/joelanderson/Downloads/MoonshineSDKs/apache-flexjs-nightly-2016-12-19/frameworks/libs/DragDrop.swc
using SWC: /Users/joelanderson/Downloads/MoonshineSDKs/apache-flexjs-nightly-2016-12-19/frameworks/libs/Effects.swc
using SWC: /Users/joelanderson/Downloads/MoonshineSDKs/apache-flexjs-nightly-2016-12-19/frameworks/libs/Flat.swc
using SWC: /Users/joelanderson/Downloads/MoonshineSDKs/apache-flexjs-nightly-2016-12-19/frameworks/libs/Formatters.swc
using SWC: /Users/joelanderson/Downloads/MoonshineSDKs/apache-flexjs-nightly-2016-12-19/frameworks/libs/GoogleMaps.swc
using SWC: /Users/joelanderson/Downloads/MoonshineSDKs/apache-flexjs-nightly-2016-12-19/frameworks/libs/Graphics.swc
using SWC: /Users/joelanderson/Downloads/MoonshineSDKs/apache-flexjs-nightly-2016-12-19/frameworks/libs/HTML.swc
using SWC: /Users/joelanderson/Downloads/MoonshineSDKs/apache-flexjs-nightly-2016-12-19/frameworks/libs/HTML5.swc
using SWC: /Users/joelanderson/Downloads/MoonshineSDKs/apache-flexjs-nightly-2016-12-19/frameworks/libs/Language.swc
using SWC: /Users/joelanderson/Downloads/MoonshineSDKs/apache-flexjs-nightly-2016-12-19/frameworks/libs/MaterialDesignLite.swc
using SWC: /Users/joelanderson/Downloads/MoonshineSDKs/apache-flexjs-nightly-2016-12-19/frameworks/libs/Mobile.swc
using SWC: /Users/joelanderson/Downloads/MoonshineSDKs/apache-flexjs-nightly-2016-12-19/frameworks/libs/Network.swc
using SWC: /Users/joelanderson/Downloads/MoonshineSDKs/apache-flexjs-nightly-2016-12-19/frameworks/libs/Reflection.swc
using SWC: /Users/joelanderson/Downloads/MoonshineSDKs/apache-flexjs-nightly-2016-12-19/frameworks/libs/Storage.swc
using SWC: /Users/joelanderson/Downloads/MoonshineSDKs/apache-flexjs-nightly-2016-12-19/frameworks/libs/XML.swc
using SWC: /Users/joelanderson/Downloads/MoonshineSDKs/apache-flexjs-nightly-2016-12-19/frameworks/libs/jQuery.swc
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/TestFlex35203.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/html/beads/ContainerView.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/BeadViewBase.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/events/EventDispatcher.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/events/Event.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IFlexJSElement.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/utils/Language.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/events/IFlexJSEvent.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/events/IEventDispatcher.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IBeadView.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IBead.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IUIBase.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IChild.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IRenderedObject.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IStrand.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/UIBase.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/UIHTMLElementWrapper.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/ElementWrapper.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/events/BrowserEvent.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/events/ElementEvents.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/ValuesManager.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IBeadModel.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IStrandWithModel.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IBeadController.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/ILayoutChild.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IMeasurementBead.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IParentIUIBase.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IParent.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IStyleableObject.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/ITransformHost.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/geom/Rectangle.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/geom/Point.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/utils/CSSContainerUtils.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/utils/CSSUtils.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/utils/StringPadder.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IBeadLayout.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IContainerView.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IContentViewHost.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/ILayoutHost.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IViewport.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IViewportModel.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/html/beads/IBackgroundBead.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/html/beads/IBorderBead.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/html/supportClasses/ContainerContentArea.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IContentView.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/html/supportClasses/Viewport.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/geom/Size.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/html/beads/layouts/BasicLayout.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/ILayoutParent.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/html/beads/models/ViewportModel.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/utils/EffectTimer.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/events/ValueEvent.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IEffectTimer.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/SimpleStatesImpl.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/events/ValueChangeEvent.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/states/AddItems.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/states/ItemAndDescriptor.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IDocument.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/states/SetEventHandler.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/states/SetProperty.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/utils/MXMLDataInterpreter.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IContainer.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IMXMLDocument.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IStatesImpl.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IStatesObject.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/Application.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/ApplicationBase.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IFlexInfo.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/utils/Timer.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IInitialViewApplication.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IPopUpHost.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/ISWFApplication.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/SimpleCSSValuesImpl.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/utils/StringUtil.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/utils/StringTrimmer.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/ICSSImpl.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IValuesImpl.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/View.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/ViewBase.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/ContainerBase.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/ContainerBaseStrandChildren.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/core/IApplicationView.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/html/Container.js'
Dependencies calculated for '/Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/org/apache/flex/html/Label.js'
Dec 19, 2016 12:16:49 PM com.google.javascript.jscomp.LoggerErrorManager println
WARNING: /Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/TestFlex35203.js:38:
WARNING - missing require: 'XML'
  this.foo = new XML();
             ^^^^^^^^^

Dec 19, 2016 12:16:49 PM com.google.javascript.jscomp.LoggerErrorManager println
WARNING: /Users/joelanderson/Documents/Flex/temp_workspace/TestFlex35203/bin/js-debug/TestFlex35203.js:38:
WARNING - variable XML is undeclared
  this.foo = new XML();
                 ^^^

Dec 19, 2016 12:16:49 PM com.google.javascript.jscomp.LoggerErrorManager printSummary
WARNING: 0 error(s), 2 warning(s), 97.0% typed
The project 'TestFlex35203' has been successfully compiled and optimized.
{noformat}

Moonshine reports the same warnings on its console.


> 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.4#6332)

Mime
View raw message