Spring Support : incorrect error
I have a bean with the following definition in one of my spring contexts
]]>
IDEA incorrectly underlines as error these lines, saying
But it is correct, and works.
note : the setConfiguration method expects (and receives) a java.util.Properties object
Please sign in to leave a comment.
Related to http://www.jetbrains.net/jira/browse/IDEA-12489
Instead of <util:properties>, one could also have used a custom namespace
element that produces an inner bean.
The "propertyType" complexType in spring-beans.xsd is one of the locations
where custom elements are explicitly allowed through
---
<xsd:any namespace="##other" processContents="strict"/>
---
you're right, thanks :)
Please submit a JIRA issue anyway.
No matter what happens with custom namespace support, this usage of built-in
tags should be supported.