Hi,
I have the following errors in my sample
struts web application. The application works fine without any errors. only thing is that, it shows errors in the files i mentioned below:
1)
error:
The errors below were detected when validating the file "validator_1_1_3.dtd" via the file "validation.xml". In most cases these errors can be detected by validating "validator_1_1_3.dtd" directly. However it is possible that errors will only occur when validator_1_1_3.dtd is validated in the context of validation.xml.
It shows this error in the very first line in validation.xml file:
<?xml version="1.0" encoding="ISO-8859-1" ?>
2) and I have this error in validator-rules.xml file
error:
The errors below were detected when validating the file "validator_1_1_3.dtd" via the file "validator-rules.xml". In most cases these errors can be detected by validating "validator_1_1_3.dtd" directly. However it is possible that errors will only occur when validator_1_1_3.dtd is validated in the context of validator-rules.xml.
It shows this error in the very first line in validator-rules.xml file:
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1.3//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd">
3) Similarly, i have an error in this first line of hibernate.cfg.xml:
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1.3//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd">
error:
The errors below were detected when validating the file "hibernate-configuration-3.0.dtd" via the file "hibernate.cfg.xml". In most cases these errors can be detected by validating "hibernate-configuration-3.0.dtd" directly. However it is possible that errors will only occur when hibernate-configuration-3.0.dtd is validated in the context of hibernate.cfg.xml.
4) and have an error in this first line of my empdata.hbm.xml:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
error:
The errors below were detected when validating the file "hibernate-mapping-3.0.dtd" via the file "empdata.hbm.xml". In most cases these errors can be detected by validating "hibernate-mapping-3.0.dtd" directly. However it is possible that errors will only occur when hibernate-mapping-3.0.dtd is validated in the context of empdata.hbm.xml
Please let me know what is causing these errors.
Thanks.