Hi
 
I am using Spring 2.0.1 on Resin. I noticed that Resin ignores the default 
values for attributes specified in the schema (see the attribute in green):
 
Here is the header:
 
<beans xmlns="http://www.springframework.org/schema/beans 
<http://www.springframework.org/schema/beans> "
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 
<http://www.w3.org/2001/XMLSchema-instance> "
      xmlns:aop="http://www.springframework.org/schema/aop 
<http://www.springframework.org/schema/aop> "
      xmlns:tx="http://www.springframework.org/schema/tx 
<http://www.springframework.org/schema/tx> "
      xsi:schemaLocation="http://www.springframework.org/schema/beans 
<http://www.springframework.org/schema/beans>  
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd 
<http://www.springframework.org/schema/beans/spring-beans-2.0.xsd> 
           http://www.springframework.org/schema/aop 
<http://www.springframework.org/schema/aop>  
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd 
<http://www.springframework.org/schema/aop/spring-aop-2.0.xsd> 
           http://www.springframework.org/schema/tx 
<http://www.springframework.org/schema/tx>  
http://www.springframework.org/schema/tx/spring-tx-2.0.xsd 
<http://www.springframework.org/schema/tx/spring-tx-2.0.xsd> "
           default-init-method="init">
    <!--
  Instruct Spring to perform declarative transaction management automatically
  on annotated classes.
 -->
 <tx:annotation-driven transaction-manager="transactionManager"/>
 
 
 
When I try this on Tomcat, I can leave out the transaction-manager attribute, 
it gets resolved correctly. The schema says this:
 
<xsd:attribute name="*transaction-manager*" type="*xsd:string*" 
default="*transactionManager*">

Any thoughts?
 
Janos Mucsi
209-346-4294
_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to