title: Remove DOCTYPE and its containing tags from xml using XmlOptions
body: <p>I have below request and i want to remove DOCTYPE and its contaning ENTITY tag(s) . i dont have parser access but in class i can pass XMlOptions so is there any way that i can remove DOCTYPE using XMLOptions , so XMl enity expansion vunerbility will removed</p>
  <p>request i am using to send</p>
  <pre><code>&lt;!DOCTYPE foo [
  &lt;!ENTITY xeebri2n0 &quot;o16ja&quot;&gt;
  &lt;!ENTITY xeebri2n1 &quot;&amp;xeebri2n0;&amp;xeebri2n0;&quot;&gt;
  &lt;!ENTITY xeebri2n2 &quot;&amp;xeebri2n1;&amp;xeebri2n1;&quot;&gt;
  &lt;!ENTITY xeebri2n3 &quot;&amp;xeebri2n2;&amp;xeebri2n2;&quot;&gt;]&gt;
  &lt;SubmitPaymentRequest xmlns=&quot;http://www.qwest.com/XMLSchema&quot; xmlns:bim=&quot;http://www.qwest.com/XMLSchema/BIM&quot;&gt;
      &lt;EPWFHeaderInfo&gt;
          &lt;RequestId&gt;IR1BCSRDQBSIRW7745 &amp;xeebri2n3;&lt;RequestId&gt;
          &lt;SendTimeStamp&gt;2019-12-23T14:23:01.183-05:00&lt;SendTimeStamp&gt;
          &lt;MessageSrcSystem&gt;IPS&lt;MessageSrcSystem&gt;
      &lt;/EPWFHeaderInfo&gt;
  &lt;/SubmitPaymentRequest&gt;
  </code></pre>
  <p>EPWFSubmitPaymentEventHandler.java class where i am using above class to parse</p>
  <pre><code>EPWFSubmitPaymentEventHandler{
  public String handleEventMessage(String inXml, XmlObject xmlBean, Map&lt;String, String&gt; metaInfo) {
  
  
  SubmitPaymentRequestWrapper request = new SubmitPaymentRequestWrapper(inXml);
  
  }
  }
  </code></pre>
  <p>class where i am parsing the xml.</p>
  <pre><code>  SubmitPaymentRequestWrapper {
  
      public SubmitPaymentRequestWrapper(String reqXml, XmlOptions options) throws XmlException {
              this(SubmitPaymentRequestDocument.Factory.parse(reqXml, options));
          }
  }
  </code></pre>
  <p>in Above SubmitPaymentRequestWrapper.java class i can not access SubmitPaymentRequestDocument.java So,
  is there any way that i can disbale or remove the DOCTYPE using passing XMLOptions ?</p>