[repositories] devel: [groups] [packages] [maintainers] [changelog]

 perl-XML-Filter-BufferText: XML::Filter::BufferText - Filter to put all characters() in one event

Description:This is a very simple filter. One common cause of grief (and programmer error) is that XML parsers aren't required to provide character events in one chunk. They can, but are not forced to, and most don't. This filter does the trivial but oft-repeated task of putting all characters into a single event.

Note that this won't help you cases such as:

<foo> blah <!-- comment --> phubar </foo>

In the above case, given the interleaving comment, there will be two character() events. This may be worked around in the future if there is demand for it.

An interesting way to use this filter, instead of telling users to use it, is to return it from your handler's constructor, already configured and all. That'll make the buffering totally transparent to them (XML::SAX::Writer does that).
Size:5.32 KB
Source RPM:perl-XML-Filter-BufferText
Provides:perl(XML::Filter::BufferText)[=1.01] perl-XML-Filter-BufferText[=1.01-3mamba]
Requires:perl[>=5.10.0] perl(XML::SAX::Base) perl(strict) perl(vars)
RPM requirements:perl perl-XML-Sax-Base perl
Required by:perl-XML-SAX-Writer(arm)
Build required by:
Filenames:/usr/lib/perl5/vendor_perl/5.10.1/XML/Filter/BufferText.pm /usr/lib/perl5/vendor_perl/5.10.1/arm-linux-thread-multi/auto/XML/Filter/BufferText /usr/share/man/man3/XML::Filter::BufferText.3pm.gz

[repositories] devel: [groups] [packages] [maintainers] [changelog]

Automatically generated by distromatic.