[XML-SIG] sgmlop and html parsing

Walter Dörwald walter at livinglogic.de
Wed Jan 14 08:04:41 EST 2004


Alexandre Fayolle wrote:

> Here's the patch I came up with. It fixes the bug that was reported on
> Debian (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=227219), but
> I'd like to have some feedback before committing the change to the CVS. 

Wouldn't it make sense to implement an SGMLParser that supports
unicode?

The best solution would be to have the encoding as an accessible
attribute in the parser. This would make it possible for the
application to set the encoding, when
    <META CONTENTYPE="text/html; charset=foo">
is encountered.

Bye,
    Walter Dörwald




More information about the XML-SIG mailing list