[relaxng-user] MIME type for RELAX NG
MURATA Makoto (FAMILY Given)
EB2M-MRT at asahi-net.or.jp
Wed Dec 15 08:44:31 ICT 2004
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) <EB2M-MRT at asahi-net.or.jp>
More information about the relaxng-user
mailing list