Re: MIME type for RELAX NG
"MURATA Makoto (FAMILY Given)" <[email protected]> Wed, 15 Dec 2004 08:44:31 +0900
| Newsgroups | gmane.text.xml.relaxng.general |
|---|---|
| Message-ID | <[email protected]> |
Jonh, > I would question why we need a MIME type for the RNG compact syntax. > We do not have one for other "compact" syntaxes such as C or Pascal or > Fortran. We have one for CSS only because the HTML link element (and > its XML analogue, the xml-stylesheet PI) overload the MIME-type in the > case of stylesheet languages to designate the language. The biggest reason is DSDL Part 4 (Namespace-based Validaiton Dispatching Language), a predecessor of which is NRL by James Clark. A NVDL or NRL schema may reference to external schemas in any schema language. When an external schema is written in the XML syntax, we can rely on the namespace of the root element. When it is written in any other syntax, we need a mechanism to tell which schema language is in use. NVDL and NRL use media types for this purpose. Cheers, Cheers, -- MURATA Makoto (FAMILY Given) <[email protected]>