[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: XML files referencing DTDs via HTTP

On Sun, Nov 30, 2003 at 02:48:46PM -0600, Steve Langasek wrote:
> On Sun, Nov 30, 2003 at 09:37:41PM +0100, Petter Reinholdtsen wrote:
> > [Brian May]
> > > This seems to be an increasing problem lately, do I need to submit a
> > > seperate bug report for each package???
> > > Referencing a DTD via HTTP won't work on computers with no Internet
> > > connection, or require HTTP queries go via a proxy HTTP server.
> > I believe XML processors are expected to keep a local map of URLs to
> > local files, to avoid having to fetch the files from the net.  having
> > the URLs in the document is _not_ a bug.  It is a design choice in
> > XML.
> It is nevertheless a misfeature of scrollkeeper that it spends so much
> time trying to repeatedly download DTDs from non-functional URLs.

I believe it is libxml2 that is taking the time, but I do not know why
it doesn't fail immediately if there is no network connection available.

/me goes to check

Hmm... If I don't have an interface up, libxml2 will fail immediately
when trying to retrieve the DTD. Why is it taking so long for you?


Attachment: signature.asc
Description: Digital signature

Reply to: