Forum
Welcome, Guest
Please Login to access forum.
[SOLVED]Extra content at the end of the document (1 viewing) 
Go to bottom
TOPIC: [SOLVED]Extra content at the end of the document
#7429
Sebastian Schmiesing
Fresh Boarder
Posts: 3
User Offline
[SOLVED]Extra content at the end of the document Karma: 0  
Some sitemap validator runs errors:

- Extra content at the end of the document on line: 2 column: 8
- error on line 3 at column 1: Extra content at the end of the document
- Line 2, Column 242: document type does not allow element "urlset" here

My sitemap: http://www.dance-charts.de/index.php?option=com_jmap&view=sitemap&format=xml

What can i do?
 
Logged Logged  
  The topic has been closed.
#7430
John Dagelmore
Admin
Posts: 3722
User Online Now
Re:Extra content at the end of the document Karma: 79  
Please read the FAQ: https://storejextensions.org/faq/xml-sitemap-results-not-well-formatted.html

In your case you have a bugged plugin adding a '<head/>' tag, check if it's known and already reported in the black list at the FAQ page, otherwise once found it post it here please.
 
Logged Logged  
  The topic has been closed.
#7432
Sebastian Schmiesing
Fresh Boarder
Posts: 3
User Offline
Re:Extra content at the end of the document Karma: 0  
I've checked all plugins in your list. I have none of those active.
 
Logged Logged  
  The topic has been closed.
#7433
John Dagelmore
Admin
Posts: 3722
User Online Now
Re:Extra content at the end of the document Karma: 79  
I noticed that it must have something to do with the cache.
Indeed if you open the first time a random param link the Joomla output for XML is not broken. http://www.dance-charts.de/index.php?option=com_jmap&view=sitemap&format=xml&nocache=99999
 
Logged Logged  
  The topic has been closed.
#7434
Sebastian Schmiesing
Fresh Boarder
Posts: 3
User Offline
Re:Extra content at the end of the document Karma: 0  
Thanks. That info helps. I excluded "com_jmap" from Joomla cache. Now it works fine.
 
Logged Logged  
  The topic has been closed.
Go to top