Exception that's thrown on invalid XML definition of MIME type.
Get XML namespace from text data. The text is not required to be a data of the whole file. Note however that some xml files may contain a big portion of DOCTYPE declaration at the start.
Get XML namespace of file.
Get symbolic constant of match type according to the string.
Read MIME type from MEDIA/SUBTYPE.xml file (e.g. image/png.xml).
Read MIME type from xml formatted data with mime-type root element as defined by spec.
Lazily read MIME types from packages/package_name.xml file (e.g. packages/freedesktop.org.xml).
Read MIME types from xml formatted data with mime-info root element as defined by spec.
Get symbolic constant of tree match type according to the string.
Functions for reading XML descriptions of MIME types.