参考文件包含错误:不允许使用s4s-elt-字符

时间:2018-11-26 06:08:18

标签: java eclipse sitemap

我在Eclipse的java webapp项目中有一个sitemap.xml,但出现错误

Description Resource    Path    Location    Type
Referenced file contains errors (http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd).  For more information, right click on the message in the Problems View and select "Show Details..."  sitemap.xml /dt/src/main/webapp/dist    line 1  XML Problem

sitemap.xml

<?xml version="1.0" encoding="UTF-8"?>
<urlset
      xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
            http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<!-- created with Free Online Sitemap Generator www.xml-sitemaps.com -->
</urlset>

0 个答案:

没有答案