Uploaded image for project: 'Spring Modules'
  1. Spring Modules
  2. MOD-421

spring.schemas does not includel xsd mappings for cache

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 0.8
    • Fix Version/s: None
    • Component/s: CACHE
    • Labels:
      None
    • Environment:
      Java 6.0, Tomcat 6.0

      Description

      In the spring modules jar files a special file Meta-INF/spring.schemas is included which is picked up by Spring 2.0 and later. This file maps the physical location of the xsd files. This file is included in spring modules jar files as well and is including some csd mappings, but is lacking the xsd definitions for the cache namespaces. There should be the following mappings included (for ehcache). The other caching frameworks should be added too.

      Contents of file:
      http\://www.springmodules.org/schema/cache/springmodules-ehcache.xsd=/org/springmodules/cache/config/ehcache/springmodules-ehcache.xsd
      http\://www.springmodules.org/schema/cache/springmodules-cache.xsd=/org/springmodules/cache/config/springmodules-cache.xsd

      This solves both Eclipse errors not finding the XSD and deployment issues with Spring and Java 6.0 where the Xerces XML parser halts with a fatal error asking for a closing </META> tag. This error is because the XSD file was not found.

      Spring modules should be updated in a future version to simply include these definitions in the alredy existing spring.schemas files.

        Attachments

          Activity

            People

            Assignee:
            yatesco Colin Yates
            Reporter:
            barsk Kristian Jörg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified