"<!" in SGMLParser - an error ?
Martin von Loewis
loewis at informatik.hu-berlin.de
Sat Nov 10 08:22:02 EST 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
<!thisisfunny>
??? Python expects a name after the <!, or else it will report an
error.
Regards,
Martin
More information about the Python-list
mailing list