Mark,
Mark> >Although
Mark> > your example can be addressed by specialized media types, my example
Mark> > (schemas embedded within XHTML are referenced by XPointer) cannot.
Mark>
Mark> Can you elaborate on that example please? I don't think I've seen any
Mark> schemas embedded in XHTML before.
Consider the following XML document (say multi.xml). This example is not
artficial. It is useful for literate programming. As you know better
than me, W3C is trying to promote compound documents.
I would like to reference to the embedded RNG schema using multi.xml#rng.
What is the media type of this document? And do you want to specify a
specialized media type when you reference the embedded RNG?
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head xml:lang="en">
<script type="JavaScript"/>
<title dir="ltr" lang="en"/>
<style type="das"/>
</head>
<body>
<h1>Welcome to XHTML</h1>
<div title="a RELAX NG grammar">
<grammar
xml:id="rng"
xmlns="http://relaxng.org/ns/structure/1.0"
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<start>
...
</start>
...
</grammar>
</div>
<div title="a W3C XML Schema schema>
<xs:schema
xml:id="wxs"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
...
</xs:schema>
</div>
</body>
</html>
--
MURATA Makoto <murata(_at_)hokkaido(_dot_)email(_dot_)ne(_dot_)jp>