[Tutor] finding mismatched or unpaired html tags

Alan Gauld alan.gauld at btinternet.com
Wed Apr 29 09:35:16 CEST 2009


"Lie Ryan" <lie.1296 at gmail.com> wrote

>> documents were generated by another computer ie. they are not web page 
>> documents.  
> 
> If the source document was generated by a computer, and it produces 
> invalid markup, shouldn't that be considered a bug in the producing 

Elementree parses xml, the source docs are html.
Valid html may not be valid xml so the source could be correct 
even though it doesn't parse properly in elemtree.

OTOH you could be right! :-)

Alan G.



More information about the Tutor mailing list