Re: [REMINDER] Package Proposal: XML_SaxFilters
| From: | Harry Fuecks | Date: | Wed, 25 Jun 2003 22:53:17 +0000 |
| Subject: | Re: [REMINDER] Package Proposal: XML_SaxFilters | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-17737@lists.php.net to get a copy of this message | ||
On Thu, 26 Jun 2003 00:35:54 +0200, Lorenzo Alberton <l.alberton@quipo.it> wrote:
You definitely have my +1!Many thank Lorenzo.
I agree with Alexey, though, on the integration with already existent PEAR packages. Your "stream" Vs "file" approach also is note-worthy, maybe you could team up with Stig to implement it natively in XML_Parser? Is it feasible?I guess so. I've got a little on my plate until the end of this month but will see what Stig thinks later. Probably the main issue is the XML_Parser doesn't break backward compatibility. I *think* it's used for the PEAR installer for example so breaking it would be bad news indeed. May there's a way to put XML_Parser into "Filter mode" allowing filters to be chained to it? Streaming would probably need to be part of a subclass of XML_Parser. XML_Parser certainly doing a better job of error handling and provides more XML handlers (e.g. for entities and PIs) so it good help prevent wheels being re-produced.