<DIV>Hi,<BR>I created two dtd's one for the file and other for element.I still get errors from<BR>the saxbuilder().<BR>I get the following error-- <BR>Error on line 2 of document <A href="http://localhost/webpub/dataset.xml">http://localhost/webpub/dataset.xml</A>: Document is inv<BR>alid: no grammar found.<BR>Can anybody tell me why this is happening.</DIV>
<DIV>Thank You,<BR>Salil.</DIV>
<DIV>The dtd for my file is</DIV>
<DIV>dataset_DataSet--</DIV>
<DIV><BR><?xml version='1.0' encoding='UTF-8'?></DIV>
<DIV> <!ELEMENT user EMPTY><BR> <!ATTLIST user<BR> password CDATA #IMPLIED<BR> username CDATA #IMPLIED<BR> ></DIV>
<DIV> <!ELEMENT DataSet (user)*></DIV>
<DIV> </DIV>
<DIV>and dtd for user is </DIV>
<DIV> </DIV>
<DIV>dataset_user--</DIV>
<DIV><?xml version='1.0' encoding='UTF-8'?></DIV>
<DIV><BR> <!ELEMENT user EMPTY><BR> <!ATTLIST user<BR> password CDATA #IMPLIED<BR> username CDATA #IMPLIED<BR> ></DIV>
<DIV><BR> </DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/evt=10469/*http://sitebuilder.yahoo.com">Yahoo! SiteBuilder</a> - Free, easy-to-use web site design software