File: smil20-profile-doctype.smi

package info (click to toggle)
w3c-markup-validator 0.7.4-5.2
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 1,736 kB
  • ctags: 117
  • sloc: perl: 1,938; sh: 94; makefile: 53; xml: 8
file content (24 lines) | stat: -rw-r--r-- 911 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE smil PUBLIC "-//W3C//DTD SMIL 2.0//EN"
  "http://www.w3.org/2001/SMIL20/WD/SMIL20.dtd">  

<!-- 
         Copyright: Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
                    See http://www.w3.org/Consortium/Legal/.
            Author: Aaron Cohen (Intel)
           Version: April 24, 2001
            Module: SMIL 2.0 Language Profile
           Feature: DOCTYPE and SMIL 2.0 namespace validation
         File Name: smil20-profile-doctype.smil
  Media Components: 1 image
 Expected Behavior: The file has the SMIL 2.0 DOCTYPE declaration,
                    and an unrecognized default namespace attribute on the
                    smil element. This should result in the user agent issuing
                    an error.
-->

<smil xmlns="http://www.example.org/smil/foo">
  <body>
    <img id="smile" end="activateEvent"src="../images/smile.jpg"/>
  </body>
</smil>