diff --git a/libmat2/harmless.py b/libmat2/harmless.py index d25603b..54737a8 100644 --- a/libmat2/harmless.py +++ b/libmat2/harmless.py @@ -4,7 +4,7 @@ from . import abstract class HarmlessParser(abstract.AbstractParser): """ This is the parser for filetypes that do not contain metadata. """ - mimetypes = {'application/xml', 'text/plain', 'application/rdf+xml'} + mimetypes = {'application/xml', 'text/plain', 'text/xml', 'application/rdf+xml'} def __init__(self, filename: str) -> None: super().__init__(filename)