Skip to content

lestrrat-p5/XML-LibXML-SAX-ChunkParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

XML::LibXML::SAX::ChunkParser - Parse XML Chunks Via LibXML SAX

SYNOPSIS

local $XML::SAX::ParserPackage = 'XML::LibXML::SAX::ChunkParser';
my $parser = XML::SAX::ParserFactory->parser(Handler => $myhandler);

$parser->parse_chunk($xml_chunk);

DESCRIPTION

XML::LibXML::SAX::ChunkParser uses XML::LibXML's parse_chunk (as opposed to parse_xml_chunk/parse_balanced_chunk), which XML::LibXML::SAX uses.

Its purpose is to simply keep parsing possibly incomplete XML fragments, for example, from a socket.

METHODS

parse_chunk

Parses possibly incomplete XML fragment

finish

Explicitly tell the parser that we're done parsing

AUTHOR

Daisuke Maki <daisuke@endeworks.jp>

LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages