1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445
|
<pre>Network Working Group P. Hoschka
Request for Comments: 4536 W3C
Category: Informational May 2006
<span class="h1">The application/smil and application/smil+xml Media Types</span>
Status of This Memo
This memo provides information for the Internet community. It does
not specify an Internet standard of any kind. Distribution of this
memo is unlimited.
Copyright Notice
Copyright (C) The Internet Society (2006).
Abstract
This document specifies the media type for versions 1.0, 2.0, and 2.1
of the Synchronized Multimedia Integration Language (SMIL 1.0, SMIL
2.0, SMIL 2.1). SMIL allows integration of a set of independent
multimedia objects into a synchronized multimedia presentation.
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
The World Wide Web Consortium (W3C) has issued specifications that
define versions 1.0 [<a href="#ref-1" title=""Synchronized Multimedia Integration Language (SMIL) 1.0 Specification"">1</a>], 2.0 [<a href="#ref-2" title=""Synchronized Multimedia Integration Language (SMIL 2.0) - [Second Edition]"">2</a>] and 2.1 [<a href="#ref-3" title=""Synchronized Multimedia Integration Language (SMIL 2.1)"">3</a>] of the Synchronized
Multimedia Integration Language (SMIL). This memo provides
information about the application/smil and application/smil+xml media
types.
The definition is based on <a href="./rfc3023">RFC 3023</a>, which defines the use of the
"application/xml" media type [<a href="#ref-4" title=""XML Media Types"">4</a>]. Before using the
"application/smil" or "application/smil+xml" media type, implementors
must thus be familiar with [<a href="#ref-4" title=""XML Media Types"">4</a>].
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Synchronized Multimedia Integration Language</span>
SMIL allows integrating a set of independent multimedia objects into
a synchronized multimedia presentation. Using SMIL, an author can
1. describe the temporal behavior of the presentation,
2. describe the layout of the presentation on a screen,
3. associate hyperlinks with media objects, and
4. define conditional content inclusion/exclusion based on
system/network properties.
<span class="grey">Hoschka Informational [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc4536">RFC 4536</a> application/smil and application/smil+xml May 2006</span>
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Registration Information</span>
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a>. Registration of MIME media type application/smil</span>
MIME media type name: application
MIME subtype name: smil
Required parameters: none
Optional parameters:
charset
Same as charset parameter considerations of application/xml in
<a href="./rfc3023">RFC 3023</a>.
profile
See <a href="#section-5">Section 5</a> of this document.
Encoding considerations:
Same as encoding considerations of application/xml in <a href="./rfc3023">RFC 3023</a>
Security considerations: See <a href="#section-6">Section 6</a>, "Security Considerations", of
this document.
Interoperability considerations:
SMIL documents contain links to other media objects. The SMIL
player must be able to decode the media types of these media in
order to display the whole document. To increase
interoperability, SMIL has provisions for including alternate
versions of a media object in a document.
Published specification: See [<a href="#ref-1" title=""Synchronized Multimedia Integration Language (SMIL) 1.0 Specification"">1</a>], [<a href="#ref-2" title=""Synchronized Multimedia Integration Language (SMIL 2.0) - [Second Edition]"">2</a>], and [<a href="#ref-3" title=""Synchronized Multimedia Integration Language (SMIL 2.1)"">3</a>]
Applications which use this media type:
SMIL players and editors
<span class="grey">Hoschka Informational [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc4536">RFC 4536</a> application/smil and application/smil+xml May 2006</span>
Additional information:
Semantics of fragment identifiers in URIs: The SMIL media type
allows a fragment identifier to be appended to a URI pointing to a
SMIL resource (e.g., http://www.example.com/test.smil#foo). The
semantics of fragment identifiers for SMIL resources are defined
in the SMIL specification.
Magic number(s):
There is no single initial byte sequence that is always present
for SMIL files. However, <a href="#section-4">Section 4</a> of this document gives some
guidelines for recognizing SMIL files.
File extension(s): .smil, .smi, .sml
NOTE: On the Windows operating system and the Macintosh platform, the
".smi" extension is used by other formats. To avoid conflicts, it is
thus recommended to use the extension ".smil" for storing SMIL files
on these platforms.
Macintosh File Type Code(s): "TEXT", ".SMI", "SMIL"
Object Identifier(s) or OID(s): none
Person & email address to contact for further information:
The author of this memo.
Intended usage: OBSOLETE
Author/Change controller:
The SMIL specification is a work product of the World Wide Web
Consortium's SYMM Working Group.
The W3C has change control over the specification.
<span class="grey">Hoschka Informational [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc4536">RFC 4536</a> application/smil and application/smil+xml May 2006</span>
<span class="h3"><a class="selflink" id="section-3.2" href="#section-3.2">3.2</a>. Registration of MIME media type application/smil+xml</span>
MIME media type name: application
MIME subtype name: smil+xml
Required parameters: See registration of application/smil.
Optional parameters: See registration of application/smil.
Encoding considerations: See registration of application/smil.
Security considerations: See <a href="#section-6">Section 6</a>, "Security Considerations", of
this document
Interoperability considerations: See registration of
application/smil.
Published specification: See registration of application/smil.
Applications which use this media type: See registration of
application/smil.
Additional information: See registration of application/smil.
Magic number(s): See registration of application/smil.
File extension(s): See registration of application/smil.
Macintosh File Type Code(s): See registration of application/smil.
Object Identifier(s) or OID(s): See registration of application/smil.
Person & email address to contact for further information: See
registration of application/smil.
Intended usage: COMMON
Author/Change controller: See registration of application/smil.
<span class="grey">Hoschka Informational [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc4536">RFC 4536</a> application/smil and application/smil+xml May 2006</span>
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Recognizing SMIL Files</span>
All SMIL files will have the string "<smil" near the beginning of the
file. Some will also begin with an XML declaration that begins with
"<?xml", though that alone does not indicate a SMIL document.
All SMIL 2.0 files must include a declaration of the SMIL 2.0
namespace. This should appear shortly after the string "<smil", and
should read 'xmlns="http://www.w3.org/2001/SMIL20/Language"'.
All SMIL 2.1 files must include a declaration of a SMIL 2.1
namespace, appearing shortly after the string "<smil". The namespace
string depends on the language profile. Please refer to the SMIL 2.1
specification for the definition of the relevant namespace names.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. The "profile" Optional Parameter</span>
This parameter is meant to be used in MIME media-type-based content
negotiation (such as that done with the HTTP "Accept" header) to
negotiate for a variety of SMIL-based languages. It is modelled
after the "profile" parameter in the application/xhtml+xml MIME type
registration [<a href="#ref-5" title=""The 'application/xhtml+xml' Media Type"">5</a>] and is motivated by very similar considerations.
The parameter is intended to be used only during content negotiation.
It is not expected that it be used to deliver content, or that origin
web servers have any knowledge of it (though they are welcome to).
It is primarily targeted for use on the network by proxies in the
HTTP chain that manipulate data formats (such as transcoders).
The value of the profile attribute is a URI that can be used as a
name to identify a language. Though the URI need not be resolved in
order to be useful as a name, it could be a namespace, schema, or
language specification.
For example, user agents supporting only SMIL Basic (see
<a href="http://www.w3.org/TR/smil20/smil-basic.html">http://www.w3.org/TR/smil20/smil-basic.html</a>) currently have no
standard means to convey their inability to fully support SMIL 2.0.
While SMIL 2.0 Basic user agents are required to parse the full SMIL
2.0 language, there is potentially a substantial burden in receiving
and parsing document content that will not be presented to the user,
since its functionality is not included in SMIL Basic.
In the future, the functionality afforded by this parameter will also
be achievable by the emerging work on a protocol to transfer
Composite Capability/Preferences Profiles (CC/PP) descriptions [<a href="#ref-6" title=""Composite Capability/Preferences Profiles (CC/PP): Structure and Vocabularies 1.0"">6</a>].
It is suggested that the "profile" parameter be used until the CC/PP
protocol work has been finalized.
<span class="grey">Hoschka Informational [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc4536">RFC 4536</a> application/smil and application/smil+xml May 2006</span>
An example use of this parameter as part of a HTTP GET transaction
would be:
Accept: application/smil+xml;
profile="http://www.w3.org/2001/SMIL20/HostLanguage"
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Security Considerations</span>
SMIL documents contain a construct that allows "infinite loops".
This is indispensable for a multimedia format. However, SMIL clients
should foresee provisions such as a "stop" button that lets users
interrupt such an "infinite loop".
As with HTML, SMIL documents contain links to other media (images,
sounds, videos, text, etc.), and those links are typically followed
automatically by software, resulting in the transfer of files without
the explicit request of the user for each one. The security
considerations of each linked file are those of the individual
registered types.
The SMIL language contains "switch" elements. SMIL provides no
mechanism that ensures that the media objects contained in a "switch"
element provide equivalent information. An author knowing that one
SMIL player will display one alternative of a "switch" and another
will display a different part can put different information in the
two parts. While there are legitimate use cases for this, it also
gives rise to a security consideration: The author can fool viewers
into thinking that the same information was displayed when in fact it
was not.
In addition, all of the security considerations of <a href="./rfc3023">RFC 3023</a> also
apply to SMIL.
<span class="grey">Hoschka Informational [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc4536">RFC 4536</a> application/smil and application/smil+xml May 2006</span>
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Normative References</span>
[<a id="ref-1">1</a>] "Synchronized Multimedia Integration Language (SMIL) 1.0
Specification", W3C Recommendation REC-smil-19980615,
<a href="http://www.w3.org/TR/1998/REC-smil/">http://www.w3.org/TR/1998/REC-smil/</a>, July 1998.
[<a id="ref-2">2</a>] "Synchronized Multimedia Integration Language (SMIL 2.0) -
[Second Edition]", W3C Recommendation,
<a href="http://www.w3.org/TR/2005/REC-SMIL2-20050107/">http://www.w3.org/TR/2005/REC-SMIL2-20050107/</a>, January 2005.
[<a id="ref-3">3</a>] "Synchronized Multimedia Integration Language (SMIL 2.1)", W3C
Recommendation, <a href="http://www.w3.org/TR/2005/REC-SMIL2-20051213/">http://www.w3.org/TR/2005/REC-SMIL2-20051213/</a>,
December 2005.
[<a id="ref-4">4</a>] Murata, M., St. Laurent, S., and D. Kohn, "XML Media Types", <a href="./rfc3023">RFC</a>
<a href="./rfc3023">3023</a>, January 2001.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. Informative References</span>
[<a id="ref-5">5</a>] Baker, M. and P. Stark, "The 'application/xhtml+xml' Media
Type", <a href="./rfc3236">RFC 3236</a>, January 2002.
[<a id="ref-6">6</a>] H. Ohto, J. Hjelm, G. Klyne, M. Butler, L. Tran, F. Reynolds, C.
Woodrow "Composite Capability/Preferences Profiles (CC/PP):
Structure and Vocabularies 1.0", W3C Recommendation
<a href="http://www.w3.org/TR/CCPP-struct-vocab/">http://www.w3.org/TR/CCPP-struct-vocab/</a>, January 2004.
Author's Address
Philipp Hoschka
W3C/ERCIM
2004, route des Lucioles - B.P. 93
06902 Sophia Antipolis Cedex
FRANCE
EMail: ph@w3.org
<span class="grey">Hoschka Informational [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc4536">RFC 4536</a> application/smil and application/smil+xml May 2006</span>
Full Copyright Statement
Copyright (C) The Internet Society (2006).
This document is subject to the rights, licenses and restrictions
contained in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a>, and except as set forth therein, the authors
retain all their rights.
This document and the information contained herein are provided on an
"AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Intellectual Property
The IETF takes no position regarding the validity or scope of any
Intellectual Property Rights or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; nor does it represent that it has
made any independent effort to identify any such rights. Information
on the procedures with respect to rights in RFC documents can be
found in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and <a href="https://www.rfc-editor.org/bcp/bcp79">BCP 79</a>.
Copies of IPR disclosures made to the IETF Secretariat and any
assurances of licenses to be made available, or the result of an
attempt made to obtain a general license or permission for the use of
such proprietary rights by implementers or users of this
specification can be obtained from the IETF on-line IPR repository at
<a href="http://www.ietf.org/ipr">http://www.ietf.org/ipr</a>.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights that may cover technology that may be required to implement
this standard. Please address the information to the IETF at
ietf-ipr@ietf.org.
Acknowledgement
Funding for the RFC Editor function is provided by the IETF
Administrative Support Activity (IASA).
Hoschka Informational [Page 8]
</pre>
|