W3C home > Mailing lists > Public > www-smil@w3.org > April to June 2006

Re: content model

From: Mary M <kr.melbourne@gmail.com>
Date: Thu, 11 May 2006 08:44:07 +1000
Message-ID: <2250a65f0605101544p36c305bdn5e3784fef57b7ac@mail.gmail.com>
To: "www-smil@w3.org" <www-smil@w3.org>
Dear All,

I am trying to learn SMIL :) but cannot get my first example to work - I
keep getting a validation error, saying that "Element 'metadata' must not
have any content" (XMLspy). The example I am using is as follow:

---------------------------------------------------------------------
<?xml version="1.0"?>
<!DOCTYPE smil PUBLIC "-//W3C//DTD SMIL 2.0//EN"
http://www.w3.org/2001/SMIL20/SMIL20.dtd">
<smil xmlns="http://www.w3.org/2001/SMIL20/Language<http://www.w3.org/2001/SMIL20/Language>"
xml:lang="en" title="Picture-in-Picture Television">
  <head>
    <metadata>
      <rdf:RDF
        xmlns:rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#"
        xmlns:rdfs=http://www.w3.org/2000/01/rdf-schema#"
        xmlns:dc=http://dublincore.org/2003/03/24/dces#">
        <rdf:Description .../>
         ...
      </metadata>
     ...
  </head>
  <body>
    ...
  </body>
</smil>
-------------------------------------------------------

If I use SMIL21 - change "http://www.w3.org/2001/SMIL20/Language" to ""
http://www.w3.org/2005/SMIL21/Language", then I got an error message saying
that "XML versiion '1.1' is not supported for validation"



Can someone please help?

Thanks in advance



Regards

Mary
Received on Friday, 12 May 2006 20:33:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:37:37 GMT