AliDD <[email protected]> added the comment: Document Object Model (DOM) Level 1 Specification at http://www.w3.org/TR/REC-DOM-Level-1/ states that "The Document Object Model provides a standard set of objects for representing HTML and XML documents" That's why I try to use xml.dom.minidom to parse some HTML. And my HTML sample is valid HTML. Possibly I misunderstand purpose of xml.dom.minidom and / or expat and they should be used only with XML. Or I should use minidom.parseString() with some parser other as default expat. If so could you recommend some built in one?
If xml.dom.minidom should process only XML and not HTML (which not always is valid XML), than I'm sorry for disturbance and please feel free to close this issue as invalid. ---------- resolution: invalid -> status: closed -> open _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue15423> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
