Re: Better Programmatic XMI support for Modules

Petr Kuzel <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.mdr.devel
Message-ID <[email protected]>
On Wednesday 21 August 2002 08:25, Brian Smith wrote:
> Hello,
>
> I think that some module needs to provide some extra support for XMI
> files, beyond what it is doing right now. Specifically:
>
> 2. It needs to register these XMI documents with the mime type
> application/xml (non-human-readable XML files), or some other mime type
> that other modules (especially the NetBeans XML modules) can recognize
> them as XML files. Currently, XMI is not recognized.
>
> 1. It needs to register an XML catalog entry for all XML files having a
> "XMI" root element, so that modules can distinguish between XMI
> documents and "plain" XML documents.

You can register a MIME resolver:
http://www.netbeans.org/download/apis/org/openide/filesystems/doc-files/HOWTO-MIME.html

http://www.ietf.org/rfc/rfc3023.txt

  Cc.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.