• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

problem with XFDF file in CF 8

Community Beginner ,
Oct 10, 2007 Oct 10, 2007

Copy link to clipboard

Copied

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"
modified="BEF7724317B311718E8675B677EF9B4E"/>
<fields>
<field name="Street">
<value>345 Park Ave.</value>
</field>
<field name="City">
<value>San Jose</value>
</field>
</fields>
</xfdf>
TOPICS
Advanced techniques

Views

446

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Oct 10, 2007 Oct 10, 2007
I answered my own question! I deleted the following from my xfdf file:

<ids original="7A0631678ED475F0898815F0A818CFA1"
modified="BEF7724317B311718E8675B677EF9B4E"/>

and it works fine.

Votes

Translate

Translate
Community Beginner ,
Oct 10, 2007 Oct 10, 2007

Copy link to clipboard

Copied

LATEST
I answered my own question! I deleted the following from my xfdf file:

<ids original="7A0631678ED475F0898815F0A818CFA1"
modified="BEF7724317B311718E8675B677EF9B4E"/>

and it works fine.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation