title: In Log4j2, how do I associate an XML Schema with log4j2.xml?
body: <p>I have been giving the new Log4j2 a go. It seems, from the <a href="http://logging.apache.org/log4j/2.x/manual/migration.html">documentation on migration</a>, that the XML Schema/DTD specification has been done away with.</p>
  
  <p>That seems like a step backwards. Surely it should be possible to associate either an XML Schema or a DTD with my <code>log4j2.xml</code> to assist writing it and for validation. I haven't been able to find anything useful in the documentation, and neither have I found the XML Schema or DTD itself.</p>
  
  <p>So: In Log4j2, how should I associate an XML Schema with <code>log4j2.xml</code>?</p>