CMS MADE SIMPLE FORGE

SiteMapMadeSimple

 

[#8370] XML output error

avatar
Created By: Oliver Seddon (oliverseddon)
Date Submitted: Mon Sep 10 07:37:31 -0400 2012

Assigned To: Robert Campbell (calguy1000)
Version: 1.2.6
CMSMS Version: None
Severity: Major
Resolution: Fixed
State: Closed
Summary:
XML output error
Detailed Description:
I get the following error


This page contains the following errors:

error on line 2 at column 6: XML declaration allowed only at the start of the
document

Below is a rendering of the page up to the first error.


I found this to be because the default template has a comment at the top, which
when it's converted to the XML file leaves a blank first line. Removing the
comment from the template removes the white space for the XML output and solves
the issue.


History

Comments
avatar
Date: 2012-10-04 05:16
Posted By: Martin Malý (natrim)

im confirming this one too
      
avatar
Date: 2012-11-19 18:05
Posted By: Grant O'Neill (gocreative)

I had the same problem, but to take it further I used {strip} tags. This
resulted in another issue with spaces, so I removed the tabs in the Sample
template and replaced them with spaces, and it worked fine.
      
avatar
Date: 2013-01-03 05:50
Posted By: Steven Gosling (stevegos)

I have the same problem. Remove the {* comments *} from the top of the template
fixes the problem.

Any chance of fixing this module so we don;t have to keep altering and fixing
the problem each time?

Thanks
      
Updates

Updated: 2014-02-14 12:50
resolution_id: => 7
cmsms_version_id: 29730 => -1
state: Open => Closed