title: How to display a XDP pdf file in browser like how normal PDF file open?
body: <p>I have a XDP file that Acrobat can open. It contains a PDF plus some data to fill in the form fields in the PDF.</p>
  
  <p>In my HTTP request header I set </p>
  
  <p>content-type to "application/vnd.adobe.xdp+xml" and 
  Content-Disposition to "in-line" </p>
  
  <p>still my browser downloads the file and asks me if I want to Open it or save it. When I click on Open it loads the PDF form and data inside Acrobat, not in the web browser. </p>
  
  <p>Do you have any idea?</p>
  
  <p><strong>UPDATE:</strong>
  I reinstalled the Adobe plugin and now browser(FireFox) attempts to open the PDF but I get the following <strong>error</strong>:
  <img src="https://i.stack.imgur.com/fsvw7.jpg" alt="Adobe Reader plugin in FireFox"></p>
  
  <p>that is very strange as the file is created by Acrobat it self. On the same page that throw this error, if I press OK and go to File > Save as.. and save the XDP file on desktop then drag and drop it into a new browser window, it opens it! and the address bar shows a very similar file name and location as was shown in the error (temp directory of FireFox cache).</p>