문제

I'm trying to use Parsley framework in Intellij Idea 10(11) IDE, but in doesn't recognize some mxml attributes, giving error "attribute 'type' is not allowed here". But in the Eclipse the mxml parses Ok. Anyone had the problem? Why would it happen? E.g. "type" is not recognized:

<mx:Object xmlns:mx="http://www.adobe.com/2006/mxml"
       xmlns:parsley="http://www.spicefactory.org/parsley">
....
<parsley:Object type="{ClientProfile}" id="clientProfile"/>
....

When I ctrl-click on xmlns:parsley link, I get "z.xsd", which is definitely not a valid schema link.

도움이 되었습니까?

해결책

z.xsd is a fake and it is correct. There's no real xsd schema for Flex namespaces so IntelliJ IDEA calculates everything on the fly.

I can't reproduce the issue. The code is green for me. How have you configured parsley library for the IDEA module? Can you please share some screenshots?

By the way the best place to ask about Intellij IDEA is our forum which we track more attentively: http://devnet.jetbrains.net/community/idea/ideacommunity

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top