schemaLocation resoultion inside of a jar file

The *.xsd files used for my spring xml bean file configuration are defined inside the spring-beans.jar file. It appears that IDEA can not automaticaly resolve the schema defination file spring-beans.xsd (insdie spring-beans.jar).

so I have to explicity configure external resources ( Alt-S --> IDE tab --> Reserouce --> Configure External Resources ) and map the URI to the Location of UNJARRED, *.xsd file to get the resource to be recognized and xml file properly validated in the editor.

Shouldn't IDEA be able to find the required *.xsd file in the spring-beans.jar or am I missing something.

thanks

2 comments

Settings | External Resources configuration can reference only unpacked files, files in archives are not supported yet.

0

There is no such functionality yet so please file JIRA request.

john lukar wrote:

The *.xsd files used for my spring xml bean file configuration are defined inside the spring-beans.jar file. It appears that IDEA can not automaticaly resolve the schema defination file spring-beans.xsd (insdie spring-beans.jar).

so I have to explicity configure external resources ( Alt-S --> IDE tab --> Reserouce --> Configure External Resources ) and map the URI to the Location of UNJARRED, *.xsd file to get the resource to be recognized and xml file properly validated in the editor.

Shouldn't IDEA be able to find the required *.xsd file in the spring-beans.jar or am I missing something.

thanks



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.