Boris Goldowsky wrote:
> On Jan 25, 2009, at 7:42 AM, Hussein Shafie wrote:
>
>> Daniel Dekany wrote:
>>> Just in case it's missing from your TODO list... XXE should be in the
>>> context menu for *.xml in Windows Explorer (and thus automatically in
>>> other file managers).
>> OK, we'll try to do that for the next release.
>> This already works on the Mac. We'll see how we can do it for Windows.
>
> How do you set it up on the Mac so that XXE is the default editor for
> all .xml files?
>
I don't know.
The Info.plist included in the XMLEditor.app application bundle
specifies this:
---
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeName</key>
<string>XML Document</string>
<key>CFBundleTypeIconFile</key>
<string>xml.icns</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>xml</string>
<string>sdocb</string>
<string>docb</string>
<string>sdbk</string>
<string>dbk</string>
<string>xhtml</string>
<string>xsd</string>
<string>rng</string>
<string>xxe</string>
<string>incl</string>
<string>xxe_gui</string>
<string>xxe_addon</string>
<string>dita</string>
<string>ditamap</string>
<string>mml</string>
<string>*</string>
</array>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>text/xml</string>
<string>application/xml</string>
</array>
<key>CFBundleTypeOSTypes</key>
<array>
<string>XML</string>
</array>
</dict>
</array>
---
In practice, it works fine for exotic file extensions (e.g. ".rng"), but
not for ".xml". I assume that other applications have priority over ours
for the ".xml" extension. However, "Open with..." (Ctrl-Click on a
filename) should suggest using XMLmind XML Editor to open a ".xml" file.