[jdom-interest] saxbuilder and dtd

salil khanwalkar k_salil at yahoo.com
Thu Aug 14 01:07:12 PDT 2003


Hi,
I created two dtd's one for the file and other for element.I still get errors from
the saxbuilder().
I get the following error-- 
Error on line 2 of document http://localhost/webpub/dataset.xml: Document is inv
alid: no grammar found.
Can anybody tell me why this is happening.
Thank You,
Salil.
The dtd for my file is
dataset_DataSet--

<?xml version='1.0' encoding='UTF-8'?>
  <!ELEMENT user EMPTY>
  <!ATTLIST user
    password CDATA #IMPLIED
    username CDATA #IMPLIED
  >
  <!ELEMENT DataSet (user)*>
 
and dtd for user is 
 
dataset_user--
<?xml version='1.0' encoding='UTF-8'?>

  <!ELEMENT user EMPTY>
  <!ATTLIST user
    password CDATA #IMPLIED
    username CDATA #IMPLIED
  >

 


---------------------------------
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/20030814/95094d9f/attachment.htm


More information about the jdom-interest mailing list