We use a DTD name with no path, URL, etc., and our EntityResolver always gets called. You should not need to use an URL. Maybe if the parser finds the DTD in the default or current or home directory, it doesn't call the EntityResolver? Wendi
Raja Nagendra Kumar wrote: > > Hi! > replace "marktcommentaar.dtd" with a URL such as > xyz://abc.com/marktcommentaar.dtd. > Regards, > Nagendra > ----- Original Message ----- > From: "Taras Tielkes" <[EMAIL PROTECTED]> > To: "Xerces-J-User (E-mail)" <[EMAIL PROTECTED]> > Sent: Friday, November 23, 2001 9:58 PM > Subject: Using EntityResolver for DTD file lookup > > > Hi, > > > > I'd like to use the EntityResolver interface to fetch DTD files form a > > specific directory. > > > > My xml files look like: > > > > <?xml version="1.0" encoding="ISO-8859-1" ?> > > <!DOCTYPE iris-research SYSTEM "marktcommentaar.dtd"> > > <iris-research> > > ... > > > > I'm registering my implementation with setEntityResolver(), but I don't > get > > called. > > > > Any suggestions? > > > > Thanks, > > > > // tt > > > > --------------------------------------------------------------------- > > 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] -- Wendi Sisson Systems Programmer International Trade Development FedEx Services (901) 263-6695 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
