Skip to main content
Gene_Godsey
Inspiring
April 8, 2008
Question

Error 1088

  • April 8, 2008
  • 1 reply
  • 1646 views
I have a CFM page calling a CFC and the error is generating the 1088 error: The markup in the document following the root elemwnt must be well formed. What is the fix? Thanks!
    This topic has been closed for replies.

    1 reply

    Inspiring
    April 8, 2008
    Is the error a ColdFusion message or from your browser (or XML parser)? If you have debug output enabled you should disable it as it will add markup to the end of your output.

    I was able to execute your code with slight modification to your CFM (but not cfc) to run on CF7.

    Tested with
    url.zipcode=90210
    url.pounds=5
    Gene_Godsey
    Inspiring
    April 8, 2008
    This is what I get when I run your code.
    -----------------------------------------------------
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


    --------------------------------------------------------------------------------

    End tag was not expected at this location. Error processing resource ' http://localhost/flex3cf/xmlHttpService2.cfm?zipcode=...

    </td></td></td></th></th></th></tr></tr></tr></table></table&...

    --------------------------------------------------
    Inspiring
    April 8, 2008
    This: "</td></td></td></th></th></th></tr></tr></tr></table></table&..."
    looks like what CF dumps before it appends debugging output to a template.

    1. Have you verified that debugging is disabled in your CF administrator or do you have a cfsetting tag with showdebugoutput="yes" anywhere in your code?
    2. Viewing the source code in the browser does any XML appear prior to </td></td></td></th></th></th></tr></tr></tr></table></table&... ?