Hi Carlos Yes it works now.
Thanks -----Original Message----- From: Carlos Rovira [mailto:carlosrov...@apache.org] Sent: Thursday, May 28, 2020 5:11 PM To: Apache Royale Development Subject: Re: Application Extend generate compile error in version 0.9.7 Hi Spiros, there was a bug in 0.9.6 where childnodes could not have the same prefix than the parent node. You must ensure in fix your code, since as you can see you have "app" root node and then "js" as prefix in child nodes HTH Carlos El jue., 28 may. 2020 a las 15:48, Spiros Aggelopoulos (< aggelopou...@novusnet.eu>) escribió: > Hi , > > > > I paste a sampe code to demostrate an error message at compile with > version > 0.9.7 the code pass the compilation in version 9.0.6. > > The MXML code extend a custom class instead of Standard Application Class > > > > The error message is: > > > C:\Royale_SDK\royale_source\royale-asjs\examples\royale\testRoyale\src\testR > oyale.mxml(7): col: 2 Error: This tag is unexpected. It will be ignored. > > > > <js:valuesImpl> > > ^ > > > > > C:\Royale_SDK\royale_source\royale-asjs\examples\royale\testRoyale\src\testR > oyale.mxml(10): col: 5 Error: This tag is unexpected. It will be ignored. > > > > <js:initialView> > > ^ > > > > > > Thanks > > > > > > Spiros > > > > > > testRoyale.mxml > > > > > > <?xml version="1.0" encoding="utf-8"?> > > > > <app:CustomApplication xmlns:fx="http://ns.adobe.com/mxml/2009" > > xmlns:js="library://ns.apache.org/royale/basic" > > xmlns:app="org.royale.test.*" > > > > > <js:valuesImpl> > > <js:SimpleCSSValuesImpl /> > > </js:valuesImpl> > > <js:initialView> > > <js:View> > > <js:Label text="Hello World!" /> > > </js:View> > > </js:initialView> > > </app:CustomApplication> > > > > > > package org.royale.test > > { > > import org.apache.royale.core.Application; > > > > public class CustomApplication extends Application > > { > > public function CustomApplication() > > { > > super(); > > } > > > > private var counter:int=0; > > > > public function CustomFunction():void > > { > > counter++; > > } > > > > } > > } > > > > > > > > > > > > > > > > -- Carlos Rovira http://about.me/carlosrovira