title: IntelliJ IDEA validates toward wrong XSD
body: <p>I have defined the following transaction manager:</p>
  
  <pre><code>    &lt;tx:annotation-driven transaction-manager="txManager" mode="aspectj" /&gt;
  </code></pre>
  
  <p>and have the following root element:</p>
  
  <pre><code>&lt;beans xmlns="http://www.springframework.org/schema/beans"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xmlns:tx="http://www.springframework.org/schema/tx"
     xsi:schemaLocation="http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
        http://www.springframework.org/schema/tx
        http://www.springframework.org/schema/tx/spring-tx-2.5.xsd"&gt;
  </code></pre>
  
  <p>Everything works fine, but IntelliJ gives me a error marker on 
      <em>mode="aspectj"</em>
  saying it is not allowed. I have followed where it gets the xsd from, and it links to the tx 2.0 xsd - which explains the error message, as I need 2.5 to use the mode annotation.</p>
  
  <p>Is it possible to somehow give IntelliJ a hint that i should validate toward 2.5 rather than 2.0?</p>