Home > Repository > base > perl-XML-Filter-BufferText
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).
XML-Filter-BufferText-1.01.tar.gz
Richiesto in compilazione da
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:
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-5mamba |
| Gruppo: | System/Libraries/Perl |
| Manutentore: | silvan |
| Licenza: | Artistic |
| Dimensione: | 16.55 kB |
| URL di origine: | https://www.cpan.org/ |
| Data di compilazione: | 2026-10-20 10:31:24 |
File sorgenti
perl-XML-Filter-BufferText.specXML-Filter-BufferText-1.01.tar.gz
Pacchetti binari e dipendenze
| x86_64 | i586 | |
|---|---|---|
| RPM creati | perl-XML-Filter-BufferText | perl-XML-Filter-BufferText |
| Dipendenze di compilazione | perl-XML-Sax-Base [1] perl-devel [1] | perl-XML-Sax-Base [1] perl-devel [1] |
Cronologia delle modifiche
| Data | Packager | Versione | Descrizione |
|---|---|---|---|
| 2026-10-20 | autodist | 1.01-5mamba | - automatic rebuild by autodist |
| 2024-03-27 | autodist | 1.01-4mamba | - automatic rebuild by autodist |
| 2012-11-13 | silvan | 1.01-3mamba | - perl 5.16 mass rebuild |
| 2008-11-05 | silvan | 1.01-2mamba | - automatic rebuild by autodist |
| 2008-09-15 | gil | 1.01-1mamba | - package created by autospec |
