|
From: Colin S. <col...@ex...> - 2006-08-18 19:17:46
|
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 |