<DIV>Hi Nancy,<BR>I know i am posting the same problem again but i need to know whats <BR>wrong with my xml<BR>Actually my xml does have root element. i did not show it, my mistake.<BR>This is how it looks- <BR><dataSet><BR> <user username="k_salil" password="xxxxxx" /><BR> <user username="user123" password="xxxxxx1" /><BR> <user username="1234" password="xxxxxx12" /><BR> <user username="user12345" password="xxxxxx123" /><BR> <user username="user123456" password="xxxxxx1234" /><BR></dataSet></DIV>
<DIV> </DIV>
<DIV>The dtd is --<BR><!ELEMENT user EMPTY><BR> <!ATTLIST user<BR> password CDATA #IMPLIED<BR> username CDATA #IMPLIED<BR> ></DIV>
<DIV> <!ELEMENT dataSet (user)*></DIV>
<DIV> </DIV>
<DIV>This is the error i get after turning on the validations of saxbuilder().<BR>Error on line 2 of document <A href="http://localhost/webpub/dataset.xml">http://localhost/webpub/dataset.xml</A>: Document is invalid: no grammar found.<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