[jdom-interest] SAXBUILDER

salil khanwalkar k_salil at yahoo.com
Sun Aug 17 20:53:52 PDT 2003


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



---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20030817/7b0503eb/attachment.htm


More information about the jdom-interest mailing list