title: Intellij IDEA : How to validate XML SCHEMA 1
body: <p>I am trying out XML SCHEMA 1.1 in IDEA 13.02 with JDK 7 </p>
  
  <p>This is an XML schema code I got  from a tutorial. When I open this file in IntelliJ IDEA and click "Validate" , I get the following errors:</p>
  
  <blockquote>
    <p>cvc-complex-type.2.4.a: Invalid content was found starting with
    element 'openContent'. One of
    '{"<a href="http://www.w3.org/2001/XMLSchema" rel="nofollow">http://www.w3.org/2001/XMLSchema</a>":annotation,
    "<a href="http://www.w3.org/2001/XMLSchema" rel="nofollow">http://www.w3.org/2001/XMLSchema</a>":simpleContent,
    "<a href="http://www.w3.org/2001/XMLSchema" rel="nofollow">http://www.w3.org/2001/XMLSchema</a>":complexContent,
    "<a href="http://www.w3.org/2001/XMLSchema" rel="nofollow">http://www.w3.org/2001/XMLSchema</a>":group,
    "<a href="http://www.w3.org/2001/XMLSchema" rel="nofollow">http://www.w3.org/2001/XMLSchema</a>":all,
    "<a href="http://www.w3.org/2001/XMLSchema" rel="nofollow">http://www.w3.org/2001/XMLSchema</a>":choice,
    "<a href="http://www.w3.org/2001/XMLSchema" rel="nofollow">http://www.w3.org/2001/XMLSchema</a>":sequence,
    "<a href="http://www.w3.org/2001/XMLSchema" rel="nofollow">http://www.w3.org/2001/XMLSchema</a>":attribute,
    "<a href="http://www.w3.org/2001/XMLSchema" rel="nofollow">http://www.w3.org/2001/XMLSchema</a>":attributeGroup,
    "<a href="http://www.w3.org/2001/XMLSchema" rel="nofollow">http://www.w3.org/2001/XMLSchema</a>":anyAttribute}' is expected.</p>
  </blockquote>
  
  <p><strong>This is the XSD File using XML Schema 1.1 enhancements:</strong></p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;schema xmlns="http://www.w3.org/2001/XMLSchema"
          targetNamespace="http://www.books.org"
          xmlns:pub="http://www.books.org"
          elementFormDefault="qualified"&gt;
  
      &lt;complexType name="Publication" abstract="true"&gt;
          &lt;openContent mode="interleave"&gt;
              &lt;any /&gt;
          &lt;/openContent&gt;
          &lt;sequence&gt;
              &lt;element name="Title" type="string" /&gt;
              &lt;element name="Author" type="string" /&gt;
              &lt;element name="Date" type="gYear"/&gt;
          &lt;/sequence&gt;
      &lt;/complexType&gt;
  
      &lt;complexType name="BookPublication"&gt;
          &lt;complexContent&gt;
              &lt;extension base="pub:Publication"&gt;
                  &lt;openContent mode="none"&gt;
                  &lt;/openContent&gt;
                  &lt;sequence&gt;
                      &lt;element name="ISBN" type="string"/&gt;
                      &lt;element name="Publisher" type="string"/&gt;
                  &lt;/sequence&gt;
              &lt;/extension&gt;
          &lt;/complexContent&gt;
      &lt;/complexType&gt;
  
      &lt;element name="BookStore"&gt;
          &lt;complexType&gt;
              &lt;sequence&gt;
                  &lt;element name="Book" type="pub:BookPublication" maxOccurs="unbounded" /&gt;
              &lt;/sequence&gt;
          &lt;/complexType&gt;
      &lt;/element&gt;
  
  &lt;/schema&gt;
  </code></pre>
  
  <p>Is there a way to validate this  or  upgrade the validator used by IDEA ?</p>