xwork-validator-1.0.2.dtd 校验时出错
校验文件:/netdisk/src/action/LoginAction.validator.xml
文件内容:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE validators PUBLIC "-//OpenSymphony Group//XWork Validator 1.0.2//EN"
"http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd">
<validators>
	<validator type="requiredstring">
		<param name="fieldName">username</param>
		<message>用户名必须输入</message>
	</validator>
	<validator type="requiredstring">
		<param name="fieldName">password</param>
		<message>密码必须输入</message>
	</validator>
	<validator type="requiredstring">
		<param name="fieldName">validationCode</param>
		<message>验证码必须输入</message>
	</validator>
</validators>
错误信息:
Referenced file contains errors (http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd).  For more information,  
right click on the message and select "Show Details..."	LoginAction.validator.xml	
netdisk/WebRoot/WEB-INF/classes/action	第 1 行	XML Problem
Show Details:
The errors below were detected when validating the file "xwork-validator-1.0.2.dtd" via the file "LoginAction.validator.xml".  In most cases these errors can be detected by validating "xwork-validator-1.0.2.dtd" directly.  However it is possible that errors will only occur when xwork-validator-1.0.2.dtd is validated in the context of LoginAction.validator.xml.
------解决方案--------------------
换成
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE validators PUBLIC  
 		"-//OpenSymphony Group//XWork Validator 1.0.2//EN"  
 		"http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd">
<validators>
</validators>