You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Raja Nagendra Kumar <Na...@sun.com> on 2001/12/07 18:12:29 UTC
Re: Using EntityResolver for DTD file lookup
Hi!
replace "marktcommentaar.dtd" with a URL such as
xyz://abc.com/marktcommentaar.dtd.
Regards,
Nagendra
----- Original Message -----
From: "Taras Tielkes" <ta...@info.nl>
To: "Xerces-J-User (E-mail)" <xe...@xml.apache.org>
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: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org
Re: Using EntityResolver for DTD file lookup
Posted by Wendi Sisson <ws...@east.fedex.com>.
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" <ta...@info.nl>
> To: "Xerces-J-User (E-mail)" <xe...@xml.apache.org>
> 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: xerces-j-user-unsubscribe@xml.apache.org
> > For additional commands, e-mail: xerces-j-user-help@xml.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org
--
Wendi Sisson
Systems Programmer
International Trade Development
FedEx Services
(901) 263-6695
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org