# * text/xml
# * application/xml
# * Any mimetype with a subtype ending in +xml (this implicitly includes application/xhtml+xml)
- return (bool) preg_match( '!^(text|application)/xml$|^.+/.+\+xml$!', $mimetype );
+ return (bool)preg_match( '!^(text|application)/xml$|^.+/.+\+xml$!', $mimetype );
}
/**