Name : apache-mod_xml2
| |
Version : 0
| Vendor : Mandriva
|
Release : 11
| Date : 2011-05-25 00:21:33
|
Group : System/Servers
| Source RPM : apache-mod_xml2-0-11.src.rpm
|
Size : 0.05 MB
| |
Packager : Oden Eriksson < oeriksson_mandriva_com>
| |
Summary : DSO module for the apache Web server
|
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.
|
RPM found in directory: /vol/rzm6/linux-mandriva/official/2011/i586/media/contrib/release |