Re: [textadept] XHTML

From: mitchell <>
Date: Wed, 24 Aug 2011 14:41:26 -0400 (Eastern Daylight Time)


On Tue, 23 Aug 2011, Brian Schott wrote:

> I think that these files are still being identified as XML due to the
> pattern that checks for "<?xml" at the beginning of the file. My
> reading of mime_types.lua seems to confirm that patterns are checked
> before file extensions. Can anyone else reproduce this?

Yeah, file extension is the last check because patterns or sh bangs are
more accurate for detecting file types than just extension. Obviously we
have a corner case here. I'm not sure how I want to proceed.

Received on Wed 24 Aug 2011 - 14:41:26 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 12:17:06 EST