Martin,
In [1], you submitted the following comment on the Last Call Working
Draft of XSLT 2.0 and XQuery 1.0 Serialization on behalf of the I18N
Working Group:
<<
[12] The description of 'media-type' is confusing. Does it change
something in the output, or only in the way the output is labelled?
Does it affect the <meta>, if output? Can it affect other things,
e.g. a Content-Type header in HTTP? This should be clarified.
>>
Thanks to you and the working group for this comment. The XSL and
XML Query Working Groups discussed the comment.
Yes, the setting of the media-type parameter may affect the sequence
of octets that is the result of serialization using the html and xhtml
output methods, as is clearly indicated in [2] and [3].
In addition, the serializer may use the parameter to influence things
that are outside of the scope of this specification, such as an HTTP
header. To make this clear, the following will be added to the
description of the media-type parameter in the table in Section 3 of
Serialization:
<<
If the destination of the serialized output is annotated with
a media type, this parameter may be used to provide such an
annotation. For example, it may be used to set the media type
in an HTTP header.
>>
Finally, the reference to RFC 2396 that currently appears in the
description of the media-type parameter is not appropriate; that RFC
defines XML media types. The reference will be changed to RFC 2046[4]
"Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types."
May I ask you to confirm that this response is acceptable to the I18N
Working Group?
Thanks,
Henry [On behalf of the XSL and XML Query Working Groups]
[1]
http://lists.w3.org/Archives/Public/public-qt-comments/2004Feb/0362.html
[2]
http://www.w3.org/TR/2004/WD-xslt-xquery-serialization-20040723/#N10F34
[3]
http://www.w3.org/TR/2004/WD-xslt-xquery-serialization-20040723/#xhtml-output
[4] ftp://ftp.rfc-editor.org/in-notes/rfc2046.txt
------------------------------------------------------------------
Henry Zongaro Xalan development
IBM SWS Toronto Lab T/L 969-6044; Phone +1 905 413-6044
mailto:zongaro@ca.ibm.com