"<!" in SGMLParser - an error ?

Martin von Loewis loewis at informatik.hu-berlin.de
Sat Nov 10 14:22:02 CET 2001

Amit Weisman <weismann at netvision.net.il> writes:

> SGMLParseError: unexpected char in declaration: '<'
> I can only guess The parser met a "< " and not a "<!" - But I don't know
> enough to be sure .
> What should I do to avoid it ?
> What is it ?

Hard to tell, since you never cared to report what data are following
the <!. Is it something like


or is it rather


??? Python expects a name after the <!, or else it will report an


More information about the Python-list mailing list