Introduced 4.0 versions of all XML configuration schemas
Removed spring-beans.dtd (the 1.x variant) and spring-oxm-1.5.xsd (pre-Spring-Framework variant), in order to raise the backwards compatibility limit a little bit at least. We'll keep supporting the 2.0 and 2.5 xsd versions for the time being, as well as spring-beans-2.0.dtd. Removed the ref 'local' attribute in spring-beans-4.0.xsd since 'local' lost its differentiating role to a regular bean ref back in the 3.1 days when we started allowing for the same bean id to reappear in a different beans section of the same configuration file (with a different profile). Issue: SPR-10437
This commit is contained in:
@@ -198,7 +198,7 @@
|
||||
<para><programlisting language="xml"><bean id="settersAndAbsquatulateAdvisor"
|
||||
class="org.springframework.aop.support.RegexpMethodPointcutAdvisor">
|
||||
<property name="advice">
|
||||
<ref local="beanNameOfAopAllianceInterceptor"/>
|
||||
<ref bean="beanNameOfAopAllianceInterceptor"/>
|
||||
</property>
|
||||
<property name="patterns">
|
||||
<list>
|
||||
@@ -1090,7 +1090,7 @@ public interface IntroductionInfo {
|
||||
dependency on it, as with an ordinary Java object:</para>
|
||||
|
||||
<para><programlisting language="xml"><bean id="personUser" class="com.mycompany.PersonUser">
|
||||
<property name="person"><ref local="person"/></property>
|
||||
<property name="person"><ref bean="person"/></property>
|
||||
</bean></programlisting></para>
|
||||
|
||||
<para>The <literal>PersonUser</literal> class in this example would
|
||||
|
||||
@@ -627,7 +627,7 @@ public class ExampleBean {
|
||||
|
||||
<programlisting language="xml"><property name="targetName">
|
||||
<lineannotation><!-- a bean with id 'theTargetBean' must exist; otherwise an exception will be thrown --></lineannotation>
|
||||
<idref local="theTargetBean"/>
|
||||
<idref bean="theTargetBean"/>
|
||||
</property></programlisting>
|
||||
|
||||
<para>A common place (at least in versions earlier than Spring 2.0)
|
||||
@@ -677,7 +677,7 @@ public class ExampleBean {
|
||||
errors as early as possible) if the target bean is in the same XML
|
||||
file.</para>
|
||||
|
||||
<programlisting language="xml"><ref local="someBean"/></programlisting>
|
||||
<programlisting language="xml"><ref bean="someBean"/></programlisting>
|
||||
|
||||
<para>Specifying the target bean through the <literal>parent</literal>
|
||||
attribute creates a reference to a bean that is in a parent container of
|
||||
|
||||
@@ -192,7 +192,7 @@
|
||||
<para><programlisting language="xml"><bean id="settersAndAbsquatulateAdvisor"
|
||||
class="org.springframework.aop.support.RegexpMethodPointcutAdvisor">
|
||||
<property name="advice">
|
||||
<ref local="beanNameOfAopAllianceInterceptor"/>
|
||||
<ref bean="beanNameOfAopAllianceInterceptor"/>
|
||||
</property>
|
||||
<property name="patterns">
|
||||
<list>
|
||||
@@ -1040,7 +1040,7 @@ public interface IntroductionInfo {
|
||||
class="org.springframework.aop.framework.ProxyFactoryBean">
|
||||
<property name="proxyInterfaces"><value>com.mycompany.Person</value></property>
|
||||
|
||||
<property name="target"><ref local="personTarget"/></property>
|
||||
<property name="target"><ref bean="personTarget"/></property>
|
||||
<property name="interceptorNames">
|
||||
<list>
|
||||
<value>myAdvisor</value>
|
||||
@@ -1074,7 +1074,7 @@ public interface IntroductionInfo {
|
||||
dependency on it, as with an ordinary Java object:</para>
|
||||
|
||||
<para><programlisting language="xml"><bean id="personUser" class="com.mycompany.PersonUser">
|
||||
<property name="person"><ref local="person" /></property>
|
||||
<property name="person"><ref bean="person" /></property>
|
||||
</bean></programlisting></para>
|
||||
|
||||
<para>The <literal>PersonUser</literal> class in this example would
|
||||
|
||||
Reference in New Issue
Block a user