Document root element "Form-validation", must match doctype root "null"

Source: Internet
Author: User
Tags parse error

 

2009-1-4 19:53:57 org. Apache. commons. digester. digester Error
Severe: Parse error at line 4 column 17: document root element "form-validation", must match doctype root "null ".
Org. xml. Sax. saxparseexception: document root element "form-validation", must match doctype root "null ".
At com.sun.org. Apache. xerces. Internal. util. errorhandlerwrapper. createsaxparseexception (errorhandlerwrapper. Java: 195)
At com.sun.org. Apache. xerces. Internal. util. errorhandlerwrapper. Error (errorhandlerwrapper. Java: 131)
At com.sun.org. Apache. xerces. Internal. impl. xmlerrorreporter. reporterror (xmlerrorreporter. Java: 384)
At com.sun.org. Apache. xerces. Internal. impl. xmlerrorreporter. reporterror (xmlerrorreporter. Java: 318)
At com.sun.org. Apache. xerces. Internal. impl. xmlnsdocumentscannerimpl. scanstartelement (xmlnsdocumentscannerimpl. Java: 256)
At com.sun.org. Apache. xerces. Internal. impl. xmlnsdocumentscannerimpl $ nscontentdriver. scanrootelementhook (xmlnsdocumentscannerimpl. Java: 626)
At com.sun.org. Apache. xerces. Internal. impl. xmldocumentfragmentscannerimpl $ fragmentcontentdriver. Next (xmldocumentfragmentscannerimpl. Java: 3084)
At com.sun.org. Apache. xerces. Internal. impl. xmldocumentscannerimpl $ prologdriver. Next (xmldocumentscannerimpl. Java: 912)
At com.sun.org. Apache. xerces. Internal. impl. xmldocumentscannerimpl. Next (xmldocumentscannerimpl. Java: 645)
At com.sun.org. Apache. xerces. Internal. impl. xmlnsdocumentscannerimpl. Next (xmlnsdocumentscannerimpl. Java: 140)

........................................ ........

Solution! Add validation. 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">

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.