Jun 29th, 2006, 03:23 AM
IntelliJ IDEA 5.5 and Spring XSD
What is the trick to make IDEA recognize the new XSD based spring configuration? I have added the spring-beans.xsd to IDEA's 'Resources' setting but the XML editor still complains about every tag, including the first <beans>.
Has anyone gotten this to work?
Jun 29th, 2006, 03:51 AM
Jun 29th, 2006, 03:58 AM
Hmpf. Why didn't I look there first :-/
Originally Posted by Rick Evans
Jun 30th, 2006, 09:54 AM
Still Does not work
I have fetched all external resources and it still doesn't work. I have used Intellij's xml editor with dozens of different xsd's. This is the first one that doesn't work. Any suggestions?
Jun 30th, 2006, 10:08 AM
Hi StokeMasterJack (good name!)
How... annoying, how very un-Heineken.
How about extracting the various XSD's that you require from the spring.jar file and explicitly pointing IDEA at the unpacked XSDs? That works for me since I have the various XSDs sitting on the filesystem in my working copy of the Spring source code.
Jun 30th, 2006, 12:54 PM
Well I had the same problem. I ended up clearing IDEA's caches and reformtting the XML a bit. Not sure what did the trick but it does recognize the xsd now.
Originally Posted by StokeMasterJack
Weird IDEA behaviour I think. I want to submit a bug report to them but it is all rather vague.