sax = xml.sax
parser = sax.make_parser()
print parser
print "Parsing good.html"
parser.parse( "TestData/good.html" )
print "Parsing bad.html"
parser.parse( "TestData/good.html" )
===
But seriously folks - I've found a 100% bugs in the W3C HTML5 validator - it doesn't catch a certain unclosed tag. It also doesn't catch a bad entity, but I don't know maybe HTML 5 is OK with ampersands that mark the start of a query parameter.
I'll report this later today.
(Score: 2) by MichaelDavidCrawford on Saturday September 22 2018, @11:45PM (2 children)
Do I have to spell it out for you?
$ wget --recursive http://soggy.jobs/ [soggy.jobs]
Kids.
These.
Days.
Yes I Have No Bananas. [gofundme.com]
(Score: 0) by Anonymous Coward on Sunday September 23 2018, @12:20AM (1 child)
Your crowning achievement that qualifies you as a coder is a bunch of HTML files?
Markup is not code. Where's your backend code, or any actual code at all, containing instructions in a programming language?
You're a fraud, Crawford. You are not a coder. Your credibility is nonexistent.
Fuck MDC
(Score: 2) by MichaelDavidCrawford on Sunday September 23 2018, @02:48AM
Our customer service personnel will respond to your request in the order that it was received.
Yes I Have No Bananas. [gofundme.com]