HTML_Sax patch, WAS Re: [PEAR-DEV] [REMINDER] Package Proposal: HTML_Sax
| From: | John Luxford | Date: | Sun, 11 May 2003 22:43:29 +0000 |
| Subject: | HTML_Sax patch, WAS Re: [PEAR-DEV] [REMINDER] Package Proposal: HTML_Sax | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-16164@lists.php.net to get a copy of this message | ||
Hi Harry,
I had sent the original author some patches a while back that I think might not have been applied (although you might not find them necessary any more -- I only skimmed your code). Here they are:
http://www.sitellite.org/files/patches/HTMLSax/AttributesParser.class.phps
- Fixed so it would recognize single-quoted attributes.
http://www.sitellite.org/files/patches/HTMLSax/HTMLSax.class.phps
- Fixed to handle comments (I see that yours does this already now).
- Fixed to handle <!DOCTYPE> tags (but not with <!ENTITY>'s too). Not sure if yours does this.
Sorry they're not in proper patch form -- I'm super busy ATM with a project due tomorrow, but you'll find the updated lines quickly (marked by a "// Lux: what I changed") and there aren't many.
Cheers,
Lux
On Sunday, May 11, 2003, at 04:54 PM, Harry Fuecks wrote:
Following up earlier posts: HTML_Sax is a Sax like parser for HTML (or badly formed XML). Source files at; http://code.phppatterns.com/HTML_Sax/HTML_Sax.phps http://code.phppatterns.com/HTML_Sax/Attributes_Parser.phps http://code.phppatterns.com/HTML_Sax/State_Machine.phps Examples; http://code.phppatterns.com/HTML_Sax/examples/HTMLtoXHTML.phps http://code.phppatterns.com/HTML_Sax/examples/SimpleExample.phps Documentation; http://code.phppatterns.com/HTML_Sax/docs/ Complete download at; http://www.phppatterns.com/index.php/filemanager/fileview/28/ So far +1 from Alan: http://lists.php.net/article.php?group=php.pear.dev&article=16142 Any takers? Also should the name be HTML_Sax, as part of the PEAR::HTML packages or perhaps XML_HTMLSax? Thanks, Harry --PEAR Development Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php-- John Luxford President and Chief Developer ______________________________ SIMIAN systems Driving Web Content Management ______________________________ web : http://www.simian.ca/ email : lux@simian.ca phone : 204.452.8537