Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider adding xhtml file extension to XHTML records fmt/103 fmt/102 #78

Open
anjackson opened this issue Aug 21, 2024 · 0 comments
Open
Assignees

Comments

@anjackson
Copy link

Poking around in the file extensions data I've got from various places, I noticed that the XHTML PRONOM records (fmt/103, fmt/102) do not include xhtml as a possible file extension. The IANA Media Type registration for XHTML says:

File extension(s) : "xhtml" and "xht" are sometimes used.

Amusingly, it also says:

Magic number(s) : No sequence of bytes can uniquely identify an XHTML 
document. More information on detecting XHTML documents is available in 
the MIME Sniffing specification.

While extension-based matching is less than ideal, perhaps it's still worth adding the above file extensions as fallbacks?

In case it helps, here's a comparison with other format info sources: *.xht, *.xhtml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants