1 Reply Latest reply on Jun 26, 2006 10:09 AM by Newsgroup_User

    XmlParse issue

    Level 7
      Happy Monday everyone :-)

      Wondering if someone can have a gander at this.

      <cfscript>
      // parse servers response into an XML doc
      response = XmlParse(cfhttp.fileContent);
      </cfscript>

      My Error is

      An error occured while Parsing an XML document.
      Content is not allowed in prolog. The error occurred in
      C:\Inetpub\wwwroot\CW_CP_Ship\CP\DP_CPTag.cfm: line 199

      197 : <cfscript>
      198 : // parse servers response into an XML doc
      199 : response = XmlParse(cfhttp.fileContent);
      200 : </cfscript>
      201 : </cfoutput>
      I don't get it!! I haven't this this error before and don't inderstand what
      it's telling me.TIABill


        • 1. Re: XmlParse issue
          Level 7
          Thanks anyway but I got it sorted. I had the wrong port # for my post.

          Bill


          "DataPacks.com" <inREMOVEfo@dataREMOVEpacks.com> wrote in message
          news:e7p2di$n24$1@forums.macromedia.com...
          > Happy Monday everyone :-)
          >
          > Wondering if someone can have a gander at this.
          >
          > <cfscript>
          > // parse servers response into an XML doc
          > response = XmlParse(cfhttp.fileContent);
          > </cfscript>
          >
          > My Error is
          >
          > An error occured while Parsing an XML document.
          > Content is not allowed in prolog. The error occurred in
          > C:\Inetpub\wwwroot\CW_CP_Ship\CP\DP_CPTag.cfm: line 199
          >
          > 197 : <cfscript>
          > 198 : // parse servers response into an XML doc
          > 199 : response = XmlParse(cfhttp.fileContent);
          > 200 : </cfscript>
          > 201 : </cfoutput>
          > I don't get it!! I haven't this this error before and don't inderstand
          > what it's telling me.TIABill
          >