Re: content model

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 UTC