xerces: no grammar found 2003-05-16 - By Steve Guo
I followed the book example and used the -v option (-V option, no error), (I want to validate the document against the schema, so used -v). Did I misunderstood the options?
"K. Venugopal" <k.venugopal@(protected)> wrote:
Hi Steve ,
you must have set validation feature to true , set it to false.
Regards venu
Steve Guo wrote:
I was trying to validate a simple example on schema from XML Bible, but I got
Document is invalid: no grammar found
Document roor element "novel" must match DOCTYPE root "null"
My XML file does not use DOCTYPE. - why the error?
Thanks all
--------------------------------- Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo.
--------------------------------- Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. <DIV>I followed the book example and used the -v option (-V option, no error),< /DIV> <DIV>(I want to validate the document against the schema, so used -v). Did I misunderstood the options?<BR><BR><B><I>"K. Venugopal" <k.venugopal@(protected) ></I></B> wrote:</DIV> <BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><BR>Hi Steve ,<BR><BR>you must have set validation feature to true , set it to false.<BR><BR>Regards<BR>venu<BR><BR>Steve Guo wrote:<BR> <BLOCKQUOTE cite=mid20030516054050.16839.qmail@(protected) type= "cite"> <DIV> <BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16 ,255) 2px solid"> <P>I was trying to validate a simple example on schema from XML Bible, but I got </P> <P>Document is invalid: no grammar found</P> <P>Document roor element "novel" must match DOCTYPE root "null"</P> <P>My XML file does not use DOCTYPE. - why the error?</P> <P>Thanks all</P></BLOCKQUOTE></DIV> <HR SIZE=1> Do you Yahoo!?<BR><A href="http://us.rd.yahoo.com/search/mailsig/*http://search .yahoo.com">The New Yahoo! Search</A> - Faster. Easier. Bingo. </BLOCKQUOTE><BR> </BLOCKQUOTE><p><hr SIZE=1> Do you Yahoo!?<br> <a href="http://us.rd.yahoo.com/search/mailsig/*http://search.yahoo.com">The New Yahoo! Search</a> - Faster. Easier. Bingo.
|
|