This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The current Mime-Resolver grammar does not support ignorecase on file extension. This makes no sense, since it supports ignorecase on the full file name, as well as on patterns/text in the file. This results in users having to add six separate entries in order to have a case insensitive (3 letter) file extension. i.e. *.txt, *.TXT, *.Txt, .... i.e. It should support <file> <ext name="txt" ignorecase="true"/> <resolver mime="text/txt"/> </file> I propose adding support for a 'ignorecase' attribute on the 'ext' file mime type, while leaving the default behaviour as case sensitive if ignorecase attribute is not defined. Most applications treat file extensions as case insensitive (*.txt vs *.TXT or *.PNG vs *.png....) so I find it hard to understand why all other attributes in the xml document support case-insensitive attribute, while file extension does not.
See: http://bits.netbeans.org/7.4/javadoc/org-openide-filesystems/org/openide/filesystems/doc-files/resolverDocumentation.html#name