Hello.

I usually specify schema location in my configuration files like this:

Code:
xsi:schemaLocation="
    http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
    http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration.xsd
        "
But when I switched to integration 2.2.0 (from 2.1.3) and used some new features, my IDE found errors int the xml file.
I thought that spring-integration.xsd refers to the latest schema, but it differs from versions 2.0, 2.1 and 2.2. Specifying spring-integration-2.2.xsd solves the validation problems, but makes migration to a newer version more complicated.

For example http://www.springframework.org/schem...ring-beans.xsd refers to the same schema as http://www.springframework.org/schem...-beans-3.2.xsd

What is the best practice to configure namespaces for integration?

Thanks,
-- Alexey