Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > contrib-release-src > by-pkgid > aee42537a651e00734b1ceb7a3dcdb72

apache-mod_xml2-0-9mdv2010.1.src.rpm

Description:

This is mod_xml2. It has nothing to do with mod_xml. The name is as it is
because it is a wrapper to the gnome libxml2 and mod_libxml2 is ugly. It is
runs the libxml2 SAX2 parser and converts its input into SAX buckets. These are
SAX events wrapped into buckets. They morph back into heap buckets if you call
their bucket read function. This means that nothing needs to be done to convert
them back. It also means that you have to be carefull, once you treat them as
ordinary buckets (e.g. by using an "ordinary" filter), they are. So if you only
run the xml2 filter on XML input you will rarely notice it. Whitespace inside
tags is normalized.

It also provides functionality for converting portions of the document into
document trees and using tree transformation functions on them. See
tree_transform.h and mod_i18n.c on how to do this.

This module should work as a drop in replacement for mod_expat, which I will
not maintain.

Filters using SAX buckets currently are mod_i18n and mod_xi.

The module should be able to run on large files, which is actually the point
with both SAX and Apache filters. Allocation of per request memory is done once
for every tag name, attribute name and namespace. So as long as your XML file
is not permanently introducing new tags or new namespaces this is limited.
Check sax_unify_name to see what exactly happens.

Generated packages:

Other version of this rpm: