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

Error 1088

Participant ,
Apr 08, 2008 Apr 08, 2008
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!
1.5K
Translate
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
Advisor ,
Apr 08, 2008 Apr 08, 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
Translate
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
Participant ,
Apr 08, 2008 Apr 08, 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&...

--------------------------------------------------
Translate
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
Advisor ,
Apr 08, 2008 Apr 08, 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&... ?
Translate
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
Participant ,
Apr 09, 2008 Apr 09, 2008
No that is not the case. I really am at a loss for this one.
I tried this code on another server and damned if it did NOT work there either. This is actually code for an MXML flex page but if it does not work on the CF side it most definately will NOT work on the Flex side.

The error listed was:
---------------------------
Translate
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
Advisor ,
Apr 09, 2008 Apr 09, 2008
I have attached the XML I am seeing with debugging disabled:


Note when I enable debugging and view the page in IE 7 I get:

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
'[MY_URL_HERE]'...

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




What do you see when you view source in IE?

I'm sorry for repeating myself but I am only able to re-create your error message only with debugging enabled.
Translate
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
Participant ,
Apr 09, 2008 Apr 09, 2008
The debugging is enabled.
Translate
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
Advisor ,
Apr 09, 2008 Apr 09, 2008
LATEST
To disable debug output for a single page use CFSETTING as in the attached code sample.
Translate
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