Hi Dhwani, I'm still not quite clear what you are trying to do. Maybe it would be best to create a JIRA ticket and attach the source.
You can declare a namespace in CSS without a prefix such as: @namespace "library://ns.apache.org/flexjs/html"; And doing that should keep the compiler from complaining about type selectors like html and body. But low-level HTMLElement classes don't have MXML support so you can't currently use an MXML-based app build the UI, plus I think you are seeing the compiler crash because Bootstrap's CSS is unexpectedly complex and the compiler can't handle it (yet). FWIW, I thought I put some code in the compiler to skip over html and body and not require a namespace. HTH, -Alex On 4/1/16, 1:44 PM, "dhwanishah85" <dhwanisha...@gmail.com> wrote: >I saw one of your post where you have included more namespaces in css >file: > >@namespace h5 "library://ns.apache.org/flexjs/html5"; >@namespace jq "library://ns.apache.org/flexjs/jquery"; >@namespace createjs "library://ns.apache.org/flexjs/createjs"; >@namespace basic "library://ns.apache.org/flexjs/basic"; > >I have included all of them in my css too. >Where can I get list of all libraries which FlexJS does support and I >think >I am getting namespace error for html tags. Apart from html5 do we have >library for html? >something like this @namespace html >"library://ns.apache.org/flexjs/xhtml);? > >I tried it and got below error: > > > >: Compiling NewFlexJsProject >: SDK path: /Users/dhwanishah/Documents/FlexSDKs/FlexJS0.5.0 >: /Users/dhwanishah/Documents/FlexSDKs/FlexJS0.5.0/js/bin/mxmlc >: Using Falcon codebase: /Users/dhwanishah/Documents/FlexSDKs/FlexJS0.5.0 >: Using Flex SDK: /Users/dhwanishah/Documents/FlexSDKs/FlexJS0.5.0 >: Unexpected exception 'java.util.EmptyStackException'. >: /Users/dhwanishah/Documents/NewFlexJsProject/src/NewFlexJsProject.mxml >: Internal error in ABC generator subsystem, when generating code for: >/Users/dhwanishah/Documents/NewFlexJsProject/src/NewFlexJsProject.mxml: >java.util.EmptyStackException >: at java.util.Stack.peek(Stack.java:102) >: at >org.apache.flex.compiler.internal.css.CSSTree.compoundSelector(CSSTree.jav >a:916) >: at >org.apache.flex.compiler.internal.css.CSSTree.selectorGroup(CSSTree.java:8 >39) >: at >org.apache.flex.compiler.internal.css.CSSTree.ruleset(CSSTree.java:774) >: at >org.apache.flex.compiler.internal.css.CSSTree.stylesheet(CSSTree.java:281) > >: at >org.apache.flex.compiler.internal.css.CSSDocument.parse(CSSDocument.java:8 >1) >: at >org.apache.flex.compiler.internal.tree.mxml.MXMLStyleNode.getCSSDocument(M >XMLStyleNode.java:88) >: at >org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.p >rocessMXMLStyle(MXMLClassDirectiveProcessor.java:4247) >: at >org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.p >rocessNode(MXMLClassDirectiveProcessor.java:987) >: at >org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.t >raverse(MXMLClassDirectiveProcessor.java:861) >: at >org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.t >raverse(MXMLClassDirectiveProcessor.java:831) >: at >org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.p >rocessMainClassDefinitionNode(MXMLClassDirectiveProcessor.java:653) >: at >org.apache.flex.compiler.internal.as.codegen.GlobalDirectiveProcessor.decl >areMXMLDocument(GlobalDirectiveProcessor.java:512) >: at >org.apache.flex.compiler.internal.as.codegen.DirectiveProcessor.processNod >e(DirectiveProcessor.java:232) >: at >org.apache.flex.compiler.internal.as.codegen.DirectiveProcessor.traverse(D >irectiveProcessor.java:188) >: at >org.apache.flex.compiler.internal.as.codegen.ABCGenerator.generate(ABCGene >rator.java:122) >: at >org.apache.flex.compiler.internal.units.MXMLCompilationUnit.handleABCBytes >Request(MXMLCompilationUnit.java:199) >: at >org.apache.flex.compiler.internal.units.CompilationUnitBase.processABCByte >sRequest(CompilationUnitBase.java:866) >: at >org.apache.flex.compiler.internal.units.CompilationUnitBase.access$300(Com >pilationUnitBase.java:107) >: at >org.apache.flex.compiler.internal.units.CompilationUnitBase$4$1.call(Compi >lationUnitBase.java:309) >: at >org.apache.flex.compiler.internal.units.CompilationUnitBase$4$1.call(Compi >lationUnitBase.java:305) >: at >org.apache.flex.compiler.internal.units.requests.RequestMaker$1.call(Reque >stMaker.java:228) >: at >org.apache.flex.compiler.internal.units.requests.RequestMaker$1.call(Reque >stMaker.java:222) >: at java.util.concurrent.FutureTask.run(FutureTask.java:266) >: at >java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java: >1142) >: at >java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java >:617) >: at java.lang.Thread.run(Thread.java:745) >: Unexpected exception 'java.util.EmptyStackException'. >: /Users/dhwanishah/Documents/NewFlexJsProject/src/NewFlexJsProject.mxml >: Internal error in ABC generator subsystem, when generating code for: >/Users/dhwanishah/Documents/NewFlexJsProject/src/NewFlexJsProject.mxml: >java.util.EmptyStackException >: at java.util.Stack.peek(Stack.java:102) >: at >org.apache.flex.compiler.internal.css.CSSTree.compoundSelector(CSSTree.jav >a:916) >: at >org.apache.flex.compiler.internal.css.CSSTree.selectorGroup(CSSTree.java:8 >39) >: at >org.apache.flex.compiler.internal.css.CSSTree.ruleset(CSSTree.java:774) >: at >org.apache.flex.compiler.internal.css.CSSTree.stylesheet(CSSTree.java:281) > >: at >org.apache.flex.compiler.internal.css.CSSDocument.parse(CSSDocument.java:8 >1) >: at >org.apache.flex.compiler.internal.tree.mxml.MXMLStyleNode.getCSSDocument(M >XMLStyleNode.java:88) >: at >org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.p >rocessMXMLStyle(MXMLClassDirectiveProcessor.java:4247) >: at >org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.p >rocessNode(MXMLClassDirectiveProcessor.java:987) >: at >org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.t >raverse(MXMLClassDirectiveProcessor.java:861) >: at >org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.t >raverse(MXMLClassDirectiveProcessor.java:831) >: at >org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.p >rocessMainClassDefinitionNode(MXMLClassDirectiveProcessor.java:653) >: at >org.apache.flex.compiler.internal.as.codegen.GlobalDirectiveProcessor.decl >areMXMLDocument(GlobalDirectiveProcessor.java:512) >: at >org.apache.flex.compiler.internal.as.codegen.DirectiveProcessor.processNod >e(DirectiveProcessor.java:232) >: at >org.apache.flex.compiler.internal.as.codegen.DirectiveProcessor.traverse(D >irectiveProcessor.java:188) >: at >org.apache.flex.compiler.internal.as.codegen.ABCGenerator.generate(ABCGene >rator.java:122) >: at >org.apache.flex.compiler.internal.units.MXMLCompilationUnit.handleABCBytes >Request(MXMLCompilationUnit.java:199) >: at >org.apache.flex.compiler.internal.units.CompilationUnitBase.processABCByte >sRequest(CompilationUnitBase.java:866) >: at >org.apache.flex.compiler.internal.units.CompilationUnitBase.access$300(Com >pilationUnitBase.java:107) >: at >org.apache.flex.compiler.internal.units.CompilationUnitBase$4$1.call(Compi >lationUnitBase.java:309) >: at >org.apache.flex.compiler.internal.units.CompilationUnitBase$4$1.call(Compi >lationUnitBase.java:305) >: at >org.apache.flex.compiler.internal.units.requests.RequestMaker$1.call(Reque >stMaker.java:228) >: at >org.apache.flex.compiler.internal.units.requests.RequestMaker$1.call(Reque >stMaker.java:222) >: at java.util.concurrent.FutureTask.run(FutureTask.java:266) >: at >java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java: >1142) >: at >java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java >:617) >: at java.lang.Thread.run(Thread.java:745) > > > >-- >View this message in context: >http://apache-flex-development.2333347.n4.nabble.com/FlexJS-with-Bootstrap >-example-tp52055p52130.html >Sent from the Apache Flex Development mailing list archive at Nabble.com.