Announcement Announcement Module
Collapse
No announcement yet.
util:property-path not validating in v1.3.8 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • util:property-path not validating in v1.3.8

    Hello,

    I am using Spring IDE 1.3.6
    There is a IDE validation problem with the following bean definition relating to util: property-path, but the application runs fine.

    Code:
    <bean id="myHandlerInterceptor" class="com.example.MyHandlerInterceptor" parent="someParent">
       <property name="productList">
            <util:property-path path="productService.releasedProducts" />
        </property>
    </bean>
    Using the spring v1 definition validates OK.
    Code:
    <bean id="myHandlerInterceptor" class="com.example.MyHandlerInterceptor" parent="someParent">
       <property name="productList">
            <bean id="productService.releasedProducts" class="org.springframework.beans.factory.config.PropertyPathFactoryBean"/>
        </property>
    </bean>
    Can you confirm whether this is a problem? If so, would it be fixed in the latest v2 of the spring IDE?

    This the the error message in the IDE (with confidential bits blanked out):

    Error registering bean with name '....HandlerInterceptor' defined in file [.....-servlet.xml]: Unexpected failure during bean definition parsing; nested exception is org.springframework.ide.eclipse.beans.core.BeanDef initionException: Error registering bean with name '....HandlerInterceptor' defined in file [...-servlet.xml]: Unknown property sub-element: <util: property-path> ........-servlet.xml line 121

  • #2
    Originally posted by fuzziman View Post
    Can you confirm whether this is a problem? If so, would it be fixed in the latest v2 of the spring IDE?
    Spring IDE 1.x doesn't support the new features introduced with Spring 2.0's (including XML namespaces). It validates against Spring 1.2.8's DTD only. The upcoming Spring IDE 2.0 will close this gap.

    Comment

    Working...
    X