View Issue Details

IDProjectCategoryView StatusLast Update
0000514fileGeneralpublic2024-04-08 17:58
Reporterslatian Assigned Tochristos  
Status resolvedResolutionfixed 
Product Version5.45 
Fixed in VersionHEAD 
Summary0000514: xhtml File gets detected as just xml OR html
DescriptionLetting file detect an xhtml file be detected results in it either being detected as an xml file or a regular html file.
While not strictly wron the result in iaccurate.

The expected media type would be: application/xhtml+xml

For example files see the xhtml specification:

This issue was originally filed on the xdg-utils bugtracker:

Steps To ReproduceTake the first example document from the specification ("Virtual Library"), save it to a file. Run file on it and it gets detected as application/xml.

Take the second (MathML) example document, save and run file on it. It gets detected as plain text/html.
TagsNo tags attached.



2024-04-08 17:58

manager   ~0004034

Fixed, thanks!

Issue History

Date Modified Username Field Change
2024-04-07 09:13 slatian New Issue
2024-04-08 17:58 christos Assigned To => christos
2024-04-08 17:58 christos Status new => assigned
2024-04-08 17:58 christos Status assigned => resolved
2024-04-08 17:58 christos Resolution open => fixed
2024-04-08 17:58 christos Fixed in Version => HEAD
2024-04-08 17:58 christos Note Added: 0004034