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.

Bug 267415 - Allow AND in XML MIME resolver declarations
Summary: Allow AND in XML MIME resolver declarations
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 8.2
Hardware: All All
: P2 normal with 1 vote (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-03 07:55 UTC by Tomas Mysik
Modified: 2016-08-03 07:55 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2016-08-03 07:55:13 UTC
One can use XML MIME resolver declaration however, its elements are OR-ed and currently there is no way for them to be AND-ed (or is it?), something like:

<MIME-resolver>
    <file>
        <and>
            <ext name="conf"/>
            <name name="jstestdriver" substring="true"/>
        </and>
        <resolver mime="text/x-yaml"/>
    </file>
</MIME-resolver>

Thanks.