Problem with minidom and special chars in HTML
Jarek Zgoda
jzgoda at gazeta.usun.pl
Wed Feb 23 15:06:52 EST 2005
Horst Gutmann napisał(a):
>> Don't use minidom or convert HTML4 to XHTML and change declaration of
>> doctype.
>>
> This was just a bad example :-) I get the same problem with XHTML in the
> doctype. The funny thing here IMO is, that the special chars are simply
> removed. No warning, no nothing :-(
As Fredrik pointed out, it's minidom that cann't fetch DTD from remote
location. Download this DTD file to your local machine (it lies at
exactly this URI), try changing PUBLIC identifier to SYSTEM and give
local path to this file.
--
Jarek Zgoda
http://jpa.berlios.de/ | http://www.zgodowie.org/
More information about the Python-list
mailing list