1SAX::PurePerl(3)      User Contributed Perl Documentation     SAX::PurePerl(3)
2
3
4

NAME

6       XML::SAX::PurePerl - Pure Perl XML Parser with SAX2 interface
7

SYNOPSIS

9         use XML::Handler::Foo;
10         use XML::SAX::PurePerl;
11         my $handler = XML::Handler::Foo->new();
12         my $parser = XML::SAX::PurePerl->new(Handler => $handler);
13         $parser->parse_uri("myfile.xml");
14

DESCRIPTION

16       This module implements an XML parser in pure perl. It is written around
17       the upcoming perl 5.8's unicode support and support for multiple
18       document encodings (using the PerlIO layer), however it has been ported
19       to work with ASCII/UTF8 documents under lower perl versions.
20
21       The SAX2 API is described in detail at
22       http://sourceforge.net/projects/perl-xml/, in the CVS archive, under
23       libxml-perl/docs. Hopefully those documents will be in a better
24       location soon.
25
26       Please refer to the SAX2 documentation for how to use this module - it
27       is merely a front end to SAX2, and implements nothing that is not in
28       that spec (or at least tries not to - please email me if you find
29       errors in this implementation).
30

BUGS

32       XML::SAX::PurePerl is slow. Very slow. I suggest you use something else
33       in fact. However it is great as a fallback parser for XML::SAX, where
34       the user might not be able to install an XS based parser or C library.
35
36       Currently lots, probably. At the moment the weakest area is parsing
37       DOCTYPE declarations, though the code is in place to start doing this.
38       Also parsing parameter entity references is causing me much confusion,
39       since it's not exactly what I would call trivial, or well documented in
40       the XML grammar. XML documents with internal subsets are likely to
41       fail.
42
43       I am however trying to work towards full conformance using the Oasis
44       test suite.
45

AUTHOR

47       Matt Sergeant, matt@sergeant.org. Copyright 2001.
48
49       Please report all bugs to the Perl-XML mailing list at
50       perl-xml@listserv.activestate.com.
51

LICENSE

53       This is free software. You may use it or redistribute it under the same
54       terms as Perl 5.7.2 itself.
55
56
57
58perl v5.10.1                      2008-08-05                  SAX::PurePerl(3)
Impressum