You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Neha Narkhede <ne...@gmail.com> on 2006/01/18 09:04:41 UTC

SAXParseException for matching end tags

Hi..
    I am getting the following error while using Apache Tomcat. I am
using JTidy to convert HTML file to XML.

[Fatal Error] :15:184: The element type "HR" must be terminated by the
matching end-tag "</HR>".
>From XMLParser
org.xml.sax.SAXParseException: The element type "HR" must be
terminated by the matching end-tag "</HR>".

Please could anyone suggest a solution?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: SAXParseException for matching end tags

Posted by HuangHao <wi...@gmail.com>.
I guess the HTML tag <HR> caused this error. How about change <HR> to 
<HR/> or <HR></HR> to make it well-formed.

> Hi..
>     I am getting the following error while using Apache Tomcat. I am
> using JTidy to convert HTML file to XML.
>
> [Fatal Error] :15:184: The element type "HR" must be terminated by the
> matching end-tag "</HR>".
> >From XMLParser
> org.xml.sax.SAXParseException: The element type "HR" must be
> terminated by the matching end-tag "</HR>".
>
> Please could anyone suggest a solution?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org