Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

spring config jndi-lookup id="foo" marked red as not allowed

$
0
0

I have a spring 2.x config file that contains a <jee:jndi-lookup id="xxxxxDS"..../>

This is working fine but IntelliJ marks it as wrong:

Screen Shot 2013-01-31 at 19.24.58.PNG

If you check the documentation, this attribute is meant to be specified,

the xsd (http://www.springframework.org/schema/jee/spring-jee-2.0.xsd)

says that jndi-lookup extends jndiLocatingType which in turns extends beans:identifiedType that contains:

<xsd:attribute name="id" type="xsd:ID">

 

So why is IntelliJ saying that I can't have an id there ? I can't even turn it off. As you can see in the screenshot...

 

I'm using IDEA 12.0.2 on a Mac if that has anything to do with it.


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>