W3C home > Mailing lists > Public > www-tag@w3.org > January 2002

Re: Media types

From: Paul Prescod <paul@prescod.net>
Date: Tue, 15 Jan 2002 01:44:05 -0800
Message-ID: <3C43F9E5.A7FB7A3B@prescod.net>
To: Jacek Kopecky <jacek@systinet.com>
CC: www-tag@w3.org, xml-dist-app@w3.org
Jacek Kopecky wrote:
> 
>  Paul,
>  I disagree, the document is in my opinion logically XHTML while
> it uses XSLT, which is perfectly legal due to open content model
> of XHTML. The handling is mainly HTML, and the HTML processor may
> use XSLT to have the complete picture, but according to HTML spec
> (IIRC) it is free to ignore anything unknown to it, like the
> xsl:value-of element.

Well then choose a vocabulary without an "open content model." XML
Schema. Docbook. QAML. I could just as easily provide an example in one
of those vocabularies. Then you would have the choice of saying it is a
valid XSLT stylesheet that looks like an QAML document or an invalid
QAML document.

Even if we stick with the XHTML example, there are two choices. Either
XSLT is presumed to be "in charge" in which case the XSLT specifications
rules are applied to the whole document and you get the HTML content
that the author expected, to be subsequently handled by an HTML
processor, or XHTML rules are applied and the unknown elements are just
ignored silently.

 Paul Prescod
Received on Tuesday, 15 January 2002 04:48:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:47:03 GMT