Invalid per cvc-complex-type.1.2.4 ??
« on: November 24, 2006, 10:13:30 AM »
0 pages are found and ..

'https://www.xml-sitemaps.com/download/www.monkoptics.co.uk/sitemap.xml:8:1: Invalid per cvc-complex-type.1.2.4 : content of urlset is not allowed to end here (1), expecting [u'{http://www.google.com/schemas/sitemap/0.84}:url']: '

I've rebuilt the header but having never come across this error before it's more than likely that I'm missing something glaringly simple!

I look forward to your thoughts.

Many thanks :-)
Re: Invalid per cvc-complex-type.1.2.4 ??
« Reply #1 on: November 25, 2006, 12:04:01 AM »
Hello,

you have the following in your robots.txt:
Code: [Select]
User-agent: *
Disallow: /Cart
Disallow: /cartadmin
Disallow:/ cgi
you should change it to:
Code: [Select]
User-agent: *
Disallow: /Cart
Disallow: /cartadmin
Disallow: /cgi

(notice space character position for "cgi" line)
Re: Invalid per cvc-complex-type.1.2.4 ??
« Reply #2 on: November 25, 2006, 02:10:51 AM »
Thank you very much - I knew it had to be someing I'd missed and sure enough..

This is a marvellous tool you've built and I've just bought the standalone after reading abouts its extra capabilities.

Many thanks

Chris
Re: Invalid per cvc-complex-type.1.2.4 ??
« Reply #4 on: January 16, 2009, 06:55:41 PM »
I have a similar problem. Any ideas why I'm getting this error? Not sure what the problem is.

https://www.xml-sitemaps.com/details-www.molex.com.html
Re: Invalid per cvc-complex-type.1.2.4 ??
« Reply #5 on: January 17, 2009, 02:38:37 PM »
Hello,

looks like 0 pages were included in sitemap since they are blocked with your robots.txt file, please check that your site is crawlable using our search engine bot tool: https://www.xml-sitemaps.com/se-bot-simulator.html?op=se-bot-simulator&go=1&pageurl=http%3A%2F%2Fwww.molex.com%2F&se=googlebot&submit=Start
Re: Invalid per cvc-complex-type.1.2.4 ??
« Reply #6 on: April 02, 2011, 06:08:13 PM »
Hi, some years later, i have the same problem:

The schema(s) used for schema-validation had no errors
709 schema-validity problems were found in the target
Schema resources involvedAttempt to load a schema document from
[ External links are visible to forum administrators only ]
 (source: schemaLoc) for
   [ External links are visible to forum administrators only ],
    succeeded

Problems with the schema-validity of the target

[ External links are visible to forum administrators only ]: Invalid per cvc-complex-type.1.2.4:
    element {http://www.sitemaps.org/schemas/sitemap/0.9}:lastmod not allowed here (5) in element {http://www.sitemaps.org/schemas/sitemap/0.9}:url, expecting [{Wildcard: ##other, strict},$]:


  [ External links are visible to forum administrators only ]: Invalid per cvc-complex-type.1.2.4:
    element {http://www.sitemaps.org/schemas/sitemap/0.9}:lastmod not allowed here (5) in element {http://www.sitemaps.org/schemas/sitemap/0.9}:url, expecting [{Wildcard: ##other, strict},$]:

  [ External links are visible to forum administrators only ]: Invalid per cvc-complex-type.1.2.4:
    element {http://www.sitemaps.org/schemas/sitemap/0.9}:lastmod not allowed here (5) in element {http://www.sitemaps.org/schemas/sitemap/0.9}:url, expecting [{Wildcard: ##other, strict},$]:

Re: Invalid per cvc-complex-type.1.2.4 ??
« Reply #7 on: April 02, 2011, 06:44:30 PM »
solved: the "priority" element must be the last child.