|
From: Colin S. <col...@ex...> - 2006-08-18 19:39:08
|
Perhaps it's not clear from my email below, but this applies to Spring CVS. If you are using Spring 2.0 RC3 or earlier, you should generally continue to use the old form, otherwise your version of Spring will not be able to resolve the new form locally, and the XML parser will always hit the internet for the DTD! Colin On 8/18/2006 3:17 PM, Colin Sampaleanu wrote: > Just a head's up that the location of the Spring 2.0 DTD has changed from: > > <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" > "http://www.springframework.org/dtd/spring-beans.dtd"> > > to > > <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" > "http://www.springframework.org/dtd/spring-beans_2_0.dtd"> > > The physical file is now > spring-beans_2_0.dtd > > It was decided that the number of changes in the DTD for 2.0 warranted > this change. Had this not been done, there would generally not have been > an issue with any 1.2.x code out there, as the entity resolver in those > older versions of Spring would still have found the proper (1.2.x) > version of spring-beans.dtd inside the spring jar file, but anybody > using an XML editor that went out to the internet to read the DTD would > get a number of options (from 2.0) not legal in 1.2.x. > > If you are using Spring 2.0, you _should_ change your DTD declarations > to the new version, in your XML files. Note that if you use the old > version, it should still resolve properly as far as Spring itself is > concerned, as the DTD entity resolver will recognize both forms. But the > new version is the correct form, and if you want proper popup completion > in your XML editor you should use the new form. > > If you are using Spring 2's new Schema (xsd) support, this does not > affect you in any way! > > There is still a question if we should version the schema files to > match, or leave them as they are, with no version number. Of course > there is no previous version of the schema files. > > Colin > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > |