Home > Repository > base > perl-XML-Filter-BufferText

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

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:

blah phubar

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).
Nome:perl-XML-Filter-BufferText
Versione: 1.01-4mamba
Gruppo:System/Libraries/Perl
Manutentore:autodist
Licenza:Artistic
Dimensione:14,53 kB
URL di origine:https://www.cpan.org/
Data di compilazione:2024-03-27 12:55:24
Pacchetti binari e dipendenze
x86_64i586
RPM creatiperl-XML-Filter-BufferText
perl-XML-Filter-BufferText
Dipendenze di compilazioneperl-XML-Sax-Base [1]
perl-devel [1]
perl-XML-Sax-Base [1]
perl-devel [1]
Cronologia delle modifiche
DataPackagerVersioneDescrizione
2024-03-27Automatic Build System 1.01-4mamba- automatic rebuild by autodist
2012-11-13silvan1.01-3mamba- perl 5.16 mass rebuild
2008-11-05silvan1.01-2mamba- automatic rebuild by autodist
2008-09-15gil1.01-1mamba- package created by autospec