activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan (JIRA)" <>
Subject [jira] Commented: (AMQ-1016) 4.1 RC1: META-INF/spring.schemas refers to building user "file:/Users/chirino/"
Date Thu, 14 Jun 2007 11:06:33 GMT


James Strachan commented on AMQ-1016:

Hey Endre

I think we're all on the same page; we all want to see an end to all these spring XML related
bugs, issues and discussions :)

I think I'm getting to the bottom of understanding this; apart from the various bugs mentioned
above that are now resolved, I think a misunderstanding of the role of the spring.schemas
file has caused some confusion & blind alleys.
To be fair quite a few folks dived in and tried to fix the various issues in this whole Spring
XML namespaces thing; it turned out there was quite a few things going wrong etc.

I think we're getting closer now.

trunk has a test case Spring2XmlNamespacesTest which uses this spring-embedded-xbean.xml
which at the time of writing looks like this...


which works fine. Then there's Spring2XmlNamespacesWithoutRemoteSchemaTest which uses spring-embedded-xbean-noversion.xml
which uses an XSD location that doesn't actually exist (rather like in spring using without using the 2.0 version)


this test case works too - showing that the spring.schemas is indeed finding the local activemq.xsd

> 4.1 RC1: META-INF/spring.schemas refers to building user "file:/Users/chirino/"
> -------------------------------------------------------------------------------
>                 Key: AMQ-1016
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 4.1.0
>         Environment: n/a
>            Reporter: Endre StĂžlsvik
>            Assignee: Adrian Co
>            Priority: Minor
>             Fix For: 5.0.0
> Referring to the 4.1 RC1 posted by Hiram Chirino  Oct 06, here:
> The META-INF file spring.schemas have the single line.
> "http\://"
> Notice "file:/" and "Users/chirino". Referring to org.springframework.beans.factory.xml.PluggableSchemaResolver's
javadoc: "schema-location should also be a schema file in the classpath", and that no-one
can tell what structure I will have on my fs, this must be wrong. In addition, I most probably
won't have a user name "chirino".
> PS: In addition, the doc at
> refers as such:
> xmlns:amq=""
>  .. and ..
> xsi:schemaLocation=""
> Wouldn't it be nice if this was put at a better place than such a snapshot-build URI?
It could be put where it will reside when 4.1 actually is out, w/o anyone being to angry about
changes during the finalization period, I personally believe.

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

View raw message