1 Reply Latest reply on Oct 10, 2007 10:25 AM by GlennV

    problem with XFDF file in CF 8

      I'm trying to merge a PDF with an XFDF file with Coldfusion 8 and I get the following error:
      Either datafile XML or data XML contained in the PDF document is invalid. When I open the XFDF file in acrobat, it displays perfectly but for some reason, CF doesn't like it. My CF tag is coded as follows:

      <cfpdfform source="temp/Document.pdf" action="populate" XMLdata="temp/TEST.xfdf"/>

      and my XFDF is coded as follows:

      <?xml version="1.0" encoding="UTF-8"?>
      <xfdf xmlns=" http://ns.adobe.com/xfdf/" xml:space="preserve">
      <f href="Document.pdf"/>
      <ids original="7A0631678ED475F0898815F0A818CFA1"
      <field name="Street">
      <value>345 Park Ave.</value>
      <field name="City">
      <value>San Jose</value>