shlomif / perl-XML-LibXML

The XML-LibXML CPAN Distribution for Processing XML using the libxml2 library
https://metacpan.org/release/XML-LibXML
Other
17 stars 35 forks source link

Wishlist: Add support for more SAX features #77

Open zmughal opened 1 year ago

zmughal commented 1 year ago

This would be useful to help control how the XML gets loaded. This came up while looking at https://github.com/bioperl/bioperl-live/issues/376.

See how the Python libxml2 binding's SAX driver maps the features to parser options: https://gitlab.gnome.org/GNOME/libxml2/-/blob/2.10/python/drv_libxml2.py?ref_type=heads#L335-L354.

Will also be good to add these feature URIs to XML::SAX at https://metacpan.org/release/GRANTM/XML-SAX-1.02/source/lib/XML/SAX.pm#L22-23.