Hi all, I got rid of this problem when I deleted existing XML parsers from my lib and used WSAD given XERCES and XALAN plug-ins in my path.
Thanks to all of you for your support. --- Graham Lounder <[EMAIL PROTECTED]> wrote: > I don't think this email got sent to the OJB user > list, so I'll send it to > you directly. I hope it helps. > > Graham > > -----Original Message----- > From: Graham Lounder > [mailto:[EMAIL PROTECTED] > Sent: Monday, June 23, 2003 11:29 AM > To: 'OJB Users List' > Subject: RE: java.net.MalformedURLException: no > protocol: repository.dtd > > > Just a thought. Doesn't the newest version of > Xerces only support a URL in > the doctype. Basically this means that you can't > use relative paths when > referencing dtds (or included repository files). I > found this when I > upgraded to Tomcat 4.1. I just went and grabbed my > old version of Xerces to > get it to work. > > <snippet> > DOS filenames are not legal URIs as required by the > XML 1.0 specification. > Therefore, it was an error for the parser to accept > DOS filenames. This bug > is now fixed. > > DOS filenames can be converted to legal URLs, > however. For example, the DOS > filename "c:\xerces\data\personal.xml" would become > "file:///c:/xerces/data/personal.xml", which is a > legal URL. > </snippet> > > Hope this helps, > Graham > > -----Original Message----- > From: Jim Shingler [mailto:[EMAIL PROTECTED] > Sent: Monday, June 23, 2003 11:18 AM > To: 'OJB Users List' > Subject: RE: java.net.MalformedURLException: no > protocol: repository.dtd > > > > Not sure this will help, ... > > In the past, I have received this exception when I > was using a old > version of Xerces with a package that was expecting > a new version. > > Thoughts? > > Jim Shingler > > -----Original Message----- > From: anuradha devi [mailto:[EMAIL PROTECTED] > Sent: Monday, June 23, 2003 10:04 AM > To: OJB Users List > Subject: RE: java.net.MalformedURLException: no > protocol: repository.dtd > > > Hi Tom, > It still gives me the same problem. > Any other solution for this.. > Pls let me know > Thanks > > --- Thomas Dudziak <[EMAIL PROTECTED]> wrote: > > In the CVS source, the doctype declaration is > > somewhat different (and > > this works though I don't know whether the used > XML > > parser is Xerces or > > Crimson): > > > > <!DOCTYPE descriptor-repository PUBLIC > > "-//Apache Software Foundation//DTD OJB > Repository//EN" > > "repository.dtd" > > [ > > <!ENTITY database SYSTEM > "repository_database.xml"> > > <!ENTITY internal SYSTEM > "repository_internal.xml"> > > <!ENTITY junit SYSTEM "repository_junit.xml"> > > <!ENTITY user SYSTEM "repository_user.xml"> > > <!ENTITY ejb SYSTEM "repository_ejb.xml"> > > <!ENTITY jdo SYSTEM "repository_jdo.xml"> > > ]> > > > > The important part here seems to be that the > doctype > > is specified as > > public with a public identifier as opposed to > system > > like in your > > repository.xml. > > > > Tom > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
