title: Ignoring DTDs when unmarshalling with EclipseLink MOXy
body: <p>When trying to unmarshall some XML into a POJO using EclipseLink MOXy I'm getting a <code>FileNotFoundException</code> where it's looking for the document's DTD as a relative path.</p>
  
  <pre><code>Exception in thread "main" org.springframework.oxm.UnmarshallingFailureException: JAXB unmarshalling exception; nested exception is javax.xml.bind.UnmarshalException
   - with linked exception:
  [java.io.FileNotFoundException: C:\Users\deejay\Documents\workspace-sts-3.0.0.RELEASE\moxy-test\ieee_idams_exchange.dtd (The system cannot find the file specified)]
      at org.springframework.oxm.jaxb.Jaxb2Marshaller.convertJaxbException(Jaxb2Marshaller.java:761)
      at org.springframework.oxm.jaxb.Jaxb2Marshaller.unmarshal(Jaxb2Marshaller.java:682)
      at org.springframework.oxm.jaxb.Jaxb2Marshaller.unmarshal(Jaxb2Marshaller.java:665)
      at com.mendeley.services.utility.EclipseLinkMarshaller.load(EclipseLinkMarshaller.java:29)
      at com.mendeley.MoxyTest.main(MoxyTest.java:31)
  </code></pre>
  
  <p>I'm providing "externalized metadata" as per <a href="http://wiki.eclipse.org/EclipseLink/Examples/MOXy/Spring/JAXBMetadata" rel="noreferrer">this example</a>, so I've no idea why it even needs a DTD. If I could get it to ignore the DTD, or not try and resolve it, that'd be great.</p>