|
From: Juergen H. <ju...@in...> - 2006-09-21 10:29:01
|
Note that the _2_0 DTD was introduced *post* RC3; it was only ever used in early RC4 snapshots. Hence, it was never available in an official Spring release. Do you use any new 2.0 DTD features at all? If not, you could simply declare "spring-beans.dtd" (which is still supported and shipped in spring.jar, including the "singleton" attribute). If you do use 2.0 DTD features, I'd recommend to declare "spring-beans-2.0.dtd" and simply do a text search-and-replace from singleton="true" to scope="singleton" and from singleton="false" to scope="prototype" It really shouldn't be more than that. This shouldn't take more than a few seconds of work, and is certainly safer than using an unsupported version of the DTD. Juergen -----Original Message----- From: spr...@li... [mailto:spr...@li...] On Behalf Of Nicolas De Loof Sent: Thursday, September 21, 2006 12:20 PM To: spr...@li... Subject: [Springframework-developer] [URGENT] I need Spring-beans_2_0.dtd Spring 2.0 RC4 has renamed Spring-beans_2_0.dtd to Spring-beans-2.0.dtd As Spring-beans_2_0.dtd was not present in spring 2.0-RC3 jars my application required to connect to internet to get it. I didn't see this as my integration server is connected to the net. Can anyone send me a copy of this deprecated Spring-beans_2_0.dtd , as my app will be send to my customer today and I've no time to update my spring configuration, that is no more valid according to new DTD (singleton attribute is used). Nico. This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Nicolas De L. <nic...@ca...> - 2006-09-21 10:36:30
|
I'm using session scope, so 2.0 DTD is required. I cannot use spring XSD=20 as target server is Websphere 5.0.2 and the included Xerces parser=20 doens't support them. I agree the context correction isn't so difficult, but my boss becomes=20 nervous about making changes as we deliver the app today ! Simply addind the DTD in my classpath under=20 org/springframework/beans/factory/xml should solve the issue. This=20 release is not the final one, so we will use the official DTD ASAP, but=20 I need a quick solution for this ! Juergen Hoeller a =E9crit : > Note that the _2_0 DTD was introduced *post* RC3; it was only ever used= in > early RC4 snapshots. Hence, it was never available in an official Sprin= g > release. > > Do you use any new 2.0 DTD features at all? If not, you could simply de= clare > "spring-beans.dtd" (which is still supported and shipped in spring.jar, > including the "singleton" attribute). > > If you do use 2.0 DTD features, I'd recommend to declare > "spring-beans-2.0.dtd" and simply do a text search-and-replace from > > singleton=3D"true" to scope=3D"singleton" > > and from > > singleton=3D"false" to scope=3D"prototype" > > It really shouldn't be more than that. This shouldn't take more than a = few > seconds of work, and is certainly safer than using an unsupported versi= on of > the DTD. > > Juergen > =20 > > -----Original Message----- > From: spr...@li... > [mailto:spr...@li...] On Beh= alf > Of Nicolas De Loof > Sent: Thursday, September 21, 2006 12:20 PM > To: spr...@li... > Subject: [Springframework-developer] [URGENT] I need Spring-beans_2_0.d= td > > > Spring 2.0 RC4 has renamed Spring-beans_2_0.dtd to Spring-beans-2.0.dt= d > > As Spring-beans_2_0.dtd was not present in spring 2.0-RC3 jars my > application required to connect to internet to get it. I didn't see thi= s as > my integration server is connected to the net. > > Can anyone send me a copy of this deprecated Spring-beans_2_0.dtd , as = my > app will be send to my customer today and I've no time to update my spr= ing > configuration, that is no more valid according to new DTD (singleton > attribute is used). > > Nico. > > > > > This message contains information that may be privileged or confidentia= l and > is the property of the Capgemini Group. It is intended only for the per= son > to whom it is addressed. If you are not the intended recipient, you ar= e not > authorized to read, print, retain, copy, disseminate, distribute, or u= se > this message or any part thereof. If you receive this message in error= , > please notify the sender immediately and delete all copies of this mes= sage. > > > -----------------------------------------------------------------------= -- > Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.ne= t's > Techsay panel and you'll get the chance to share your opinions on IT & > business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > -----------------------------------------------------------------------= -- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share= your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > =20 This message contains information that may be privileged or confidential = and is the property of the Capgemini Group. It is intended only for the p= erson to whom it is addressed. If you are not the intended recipient, yo= u are not authorized to read, print, retain, copy, disseminate, distribu= te, or use this message or any part thereof. If you receive this message= in error, please notify the sender immediately and delete all copies of= this message. |