Provided by: libxml-sax-expatxs-perl_1.32-1ubuntu2_amd64 bug


       XML::SAX::ExpatXS - Perl SAX 2 XS extension to Expat parser


        use XML::SAX::ExpatXS;

        $handler = MyHandler->new();
        $parser = XML::SAX::ExpatXS->new( Handler => $handler );


       XML::SAX::ExpatXS is a direct XS extension to Expat XML parser. It implements Perl SAX 2.1
       interface. See for Perl SAX API description. Any
       deviations from the Perl SAX 2.1 specification are considered as bugs.

       The parser behavior can be changed by setting features.

        $parser->set_feature(FEATURE, VALUE);

       XML::SAX::ExpatXS provides these adjustable features:

           Consequent character data are joined (1, default) or not (0).

           Namespace attributes are reported as common attributes (1, default) or not (0).

           When set on, xmlns and xmlns:* attributes are put into namespaces in a Perl SAX
           traditional way; xmlns attributes are in no namespace while xmlns:* attributes are in
           the "" namespace. This feature is set to 1 by default.

           This feature applies if and only if the "" feature
           is off. Then, xmlns and xmlns:* attributes are both put into no namespace (0, default)
           or into "" namespace (1).

           The document locator is updated (1, default) for ContentHadler events or not (0).

           A recognized string (the text string currently processed by this XML parser) is either
           maintained as $parser->{ParseOptions}{RecognizedString} (1) or not (0, default).

           Controls whether this parser processes external general entities (1, default) or not

           Controls whether this parser processes external parameter entities including an
           external DTD subset (1) or not (0, default).

   Constructor Options
       Apart from features, the behavior of this parser can also be changed with options to the

            ParseParamEnt => 1

           This option meaning is exactly the same as the
           "" feature.  The option is
           supported only because of the compatibility with older versions of this module. Turned
           off by default.

            NoExpand => 1

           No internal entities are expanded if this option is turned on.  Turned off by default.

   Read-only Properties
           This property returns a version of linked Expat library, for example expat_1.95.7.


        Petr Cimprich <petr AT gingerall DOT org> (maintainer)
        Matt Sergeant <matt AT sergeant DOT org>