Validate xml file using xml schema 2004-02-23 - By Samuel Cheung
I am trying to use the Counter example to validate (I use the "-v" option) the personal-schema.xml in the data directory in the sample.
But I get these errors instead, could someone please tell me why?
[Error] personal-schema.xml:2:11: Document is invalid: no grammar found. [Error] personal-schema.xml:2:11: Document root element "personnel", must match DOCTYPE root "null". personal-schema.xml: 187;16;0 ms (37 elems, 14 attrs, 0 spaces, 268 chars)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45"> <TITLE>Validate xml file using xml schema</TITLE> </HEAD> <BODY> <BR>
<P><FONT SIZE=2>I am trying to use the Counter example to validate (I use the "-v" option) the personal-schema.xml in the data directory in the sample. </FONT></P>
<P><FONT SIZE=2>But I get these errors instead, could someone please tell me why?</FONT> </P>
<P><FONT SIZE=2>[Error] personal-schema.xml:2:11: Document is invalid: no grammar found.</FONT> <BR><FONT SIZE=2>[Error] personal-schema.xml:2:11: Document root element " ;personnel", must match DOCTYPE root "null".</FONT> <BR><FONT SIZE=2>personal-schema.xml: 187;16;0 ms (37 elems, 14 attrs, 0 spaces , 268 chars) </FONT> </P>
</BODY> </HTML>
|
|