I don't think it is a problem about resin, because xml parser is included in
jdk dom or 3rd-part lib. 
i'm using jdk 1.5_08 & resin 3.0.21 & spring 2.0 and it works well.
 
check your jdk & resin version.
 
Xuefeng


  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Janos Mucsi
Sent: Friday, January 05, 2007 8:09 AM
To: resin-interest@caucho.com
Subject: [Resin-interest] ignored default attribute in schema




 
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