2009-12-16 84 views
0

你好我想在我的语义运行一些诊断和我一直运行到这个错误,当我看在http://www.w3.org/2003/12/semantic-extractor.html 我的网站是www.bolderentertainment.com任何帮助将不胜感激。如何解决这个错误使用org.apache.xerces.parsers.SAXParser异常

Using org.apache.xerces.parsers.SAXParser 
Exception net.sf.saxon.trans.XPathException: org.xml.sax.SAXParseException: The element type "html" must be terminated by the matching end-tag "</html>". 
org.xml.sax.SAXParseException: The element type "html" must be terminated by the matching end-tag "</html>". 

回答

0

您在字符串的某个位置有一个未封闭的<html>标记。关闭它,错误将消失。

<html> 
    <div> 
    <!-- contents and other tags --> 
    </div> 
</html> <!-- You don't have this closing tag --> 
0

我建议先制作页面validate as correct HTML

在您需要修复的各种事情:

  • <script>标记必须要么<head><body>标签内。
  • <p>标签需要在<body>标签内。
  • 您有两个冗余的<noframes>部分。