title: Eclipse can't find XML related classes after switching build path to JDK 10
body: <p>I'm developing on a <a href="https://github.com/fcarsten/portal-core.git" rel="noreferrer">Maven project</a> (branch  platform-bom_brussels-sr7) in Eclipse. When I recently tried switching the Java Build Path for the project to JDK 10, Eclipse build can no longer find classes such as <code>javax.xml.xpath.XPath</code>, <code>org.w3c.dom.Document</code>, or <code>org.xml.sax.SAXException</code>. It seems only XML related classes are impacted, mostly from the Maven dependency <code>xml-apis-1.4.01</code>.</p>
  
  <p>Trying a Maven build from Eclipse works without errors. Ctrl-LeftClick on one of the supposedly missing classes finds the class and opens it in the Eclipse editor. It seems only the Eclipse build is impacted.</p>
  
  <p>I tried several things, but none helped. I tried:</p>
  
  <ul>
  <li>Project Clean</li>
  <li>Different Eclipse Versions: Oxygen and Photon.</li>
  <li>Running Eclipse itself with JDK 8 and JDK 10.</li>
  <li>Changing Compiler Compliance level for the project. It builds with compliance level 8 and 10 under JDK 8 build path and fails for both with JDK 10 in build path.</li>
  </ul>