Found a parsing bug in HTMLParser
Grzegorz Adam Hankiewicz
gradha at terra.es
Mon Feb 10 17:45:57 EST 2003
More information about the Python-list mailing list
Mon Feb 10 17:45:57 EST 2003
- Previous message (by thread): Found a parsing bug in HTMLParser
- Next message (by thread): Found a parsing bug in HTMLParser
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, Feb 09, 2003 at 09:38:36PM +0000, Bengt Richter wrote: > On Sun, 9 Feb 2003 18:06:56 +0100, Grzegorz Adam Hankiewicz wrote: > > I've found a bug in HTMLParser parsing some of my webpages. The > > problem is using an attribute with a value inside double quotes > > which is near another attribute. I've created a small testcase > > Too "near" to be legal HTML 4.0, I believe. [...] so it surprises > me that you get an ok validation, though I'm not surprised that > browsers ignore anomalies. I'll contact the validator team then. > >HTMLParser.HTMLParseError: EOF in middle of construct, at line 5, column 1 > > > Seems like a better message could have been generated, though. Like all error messages, it's crystal clear once you know what's happening, or you have seen it once before.
- Previous message (by thread): Found a parsing bug in HTMLParser
- Next message (by thread): Found a parsing bug in HTMLParser
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list