Results 1 to 3 of 3

Thread: which is better?

  1. #1
    Join Date
    Dec 2005
    Posts
    7

    Default which is better?

    I'm upgrading Spring 3.0 based application to Spring 3.1.

    I think it's quite annoying that changing applicationContex*.xml's schemaLocations.

    I'm chaning xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schem...spring-beans-3.0.xsd" to
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans /spring-beans-3.1.xsd"

    I may have to do this again when Spring upgrade to 3.2.

    So, I think I'd rather change the location like xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"

    Will it be problematic??
    I think I may not have time to upgrade as soon as possible when Spring 3.2 is released. Will there be some problems if I do not specify schema version?

    Regards,
    KwonNam.

  2. #2

    Default

    Hi.......
    There are no problematic to upgrade any spring versions..I like all versions of Spring..So I think u may also no problem with this...

  3. #3

    Default

    I would specify the version if you need to use the new 3.1 features for that namespace. STS does this for you easily if you open the xml with the spring editor (there is a namespace tab)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •