Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the XML-RSS-LibXML CPAN distribution.

Report information
The Basics
Id: 58067
Status: resolved
Priority: 0/
Queue: XML-RSS-LibXML

People
Owner: Nobody in particular
Requestors: dwheeler [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: PATCH: Document create_libxml()
Date: Wed, 2 Jun 2010 15:15:23 -0700
To: bug-xml-rss-libxml [...] rt.cpan.org
From: David E. Wheeler <dwheeler [...] cpan.org>
This patch documents create_libxml(). I've created a subclass to override this one method so that I can perform my own configuration of the parser. NOte that libxml_opts (undocumented) does not work for some options, as they don't have corresponding accessors. Best, David --- a/lib/XML/RSS/LibXML.pm +++ b/lib/XML/RSS/LibXML.pm @@ -464,6 +464,11 @@ Instead of In scalar context, returns the reference to the list of items. +=head2 create_libxml() + +Creates, configures, and returns an XML::LibXML object. Used by C<parse()> +to instantiate the parser used to parse the feed. + =head1 PERFORMANCE Here's a simple benchmark using benchmark.pl in this distribution,
Also pushed to my clone of the GitPAN repository: http://github.com/theory/XML-RSS- LibXML/commit/833f9cd42d0d97dc2f8d062f48d33fbccf0179bf
old ticket, closing