activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Günther Wieser (JIRA) <>
Subject [jira] Created: (AMQ-1461) Spring integration: wrong entry in spring.schemas
Date Mon, 15 Oct 2007 13:52:23 GMT
Spring integration: wrong entry in spring.schemas

                 Key: AMQ-1461
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 4.1.1
         Environment: w/ spring 2.0.7, jdk 1.4.2
            Reporter: Günther Wieser

META-INF/spring.schemas in the active mq jar contains in release 4.1.1:


this is wrong in the sense that here the namespace is mapped against the relative location
of the XSD in the classpath. instead of the namespace the XSD location from the XML config
should be used.

Think about the following spring XML application context header:
<beans xmlns=""

spring resolves the URL
by first looking up the classpath for files that match "META-INF/spring.schema", and if it
finds one ore more it looks inside to read the property within these files. it than tries
to match the key of the property against the schema location entry of the xsi:schemaLocation
entry, which in this example would be a match of ""
and NOT "".

i have locally fixed this bug by modifying the META-INF/spring.schemas file to:


with this setting it works fine here. with the original setting there was no chance to get
it up and running, which is strange because of the following examples:

for details on spring and spring.schemas see

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message