[XML-SIG] supress DTD reading

Thomas B. Passin tpassin at comcast.net
Thu Nov 27 10:37:01 EST 2003

Roman Kennke wrote:
>>(When I try this with xml.dom.reader.Sax2.Reader with the following XML
>><?xml version='1.0' ?>
>><!DOCTYPE env:Envelope SYSTEM "env.dtd"[]>
>> ...
>>I get an exception:
>>ValueError: unknown url type: env.dtd
> I suppose, this does not mean, that it the parser tried to read the DTD,
> but it tried to parse the url and found, that it is not valid. 

It probably tried to parse the "[]" and did not like it.


Tom P

More information about the XML-SIG mailing list