[Top][All Lists]

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

Re: fails

From: Bernhard Herzog
Subject: Re: fails
Date: Sat, 28 Aug 2004 18:57:27 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux)

Bernhard Reiter <address@hidden> writes:

> Yeah, I also though that this was strange depending on getting
> the dtd over the net each time you want to verify a xml based format.

In a sense it's even worse, since expat is not a validating parser.  IMO
It shouldn't try to fetch the DTD unless it's explicitly activated by
the programmer.  There's not much a non-validting parser can do with the
DTD anyway.  In Thuban we worked around this by switching this off:


Whether this works depends on whether the extra xml package is installed
and perhaps on the Python version.

> A proxy would help this a lot, but still it is a lot of traffic.

IMO Skencil should not fetch SVG DTDs.  If the DTDs are necessary,
copies of the DTDs should be shipped with Skencil.

> Nevertheless I guess that the Exception will need to be caught
> so that the test can be skipped.

The code should be fixed so that no network connections are done.


Intevation GmbH                       

reply via email to

[Prev in Thread] Current Thread [Next in Thread]