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

XmlParse and XmlValidate

New Here ,
Jan 08, 2007 Jan 08, 2007

Copy link to clipboard

Copied

I am getting an error thrown at me and I am not for sure why. I am using a cfc to send back XML code for the information required in a query. I have a dtd file that has been given to me by the company that is wanting this portal set up for them (checking availability for parts). Being a good little coder I decided to go ahead a validate against this dtd file in a test environment. the string cfoutput looks correct. but when I do a cfdump of the cfhttp.FileConnet I get a wddx top level element. and then when I validate, i get errors thrown back at me. Can anyone help me with why this is happening?

Email
TOPICS
Advanced techniques

Views

155

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
Engaged ,
Jan 11, 2007 Jan 11, 2007

Copy link to clipboard

Copied

LATEST
set the return type of the function in the cfc to "XML"

You might also want to use <cfheader name="content-type" value="text/xml">

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