<p:poem 
 xmlns:p   ="http://www.example.com/poetry"
 xmlns:xsi ="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="http://www.example.com/poetry tds.xsd"
 >
<!--* A partially schema-valid example:
    * The author element contains undeclared elements.
    * Error message:

      [Error] theduck.xml:11:16: cvc-complex-type.2.4.c: The matching 
      wildcard is strict, but no declaration can be found for element 
      'p:givenname'.

      [Error] theduck.xml:12:14: cvc-complex-type.2.4.c: The matching 
      wildcard is strict, but no declaration can be found for element 
      'p:surname'.    

    * Since 'givenname' and 'surname' are not declared,
    * they cannot be validated.  
    * Since 'givenname' and 'surname' do match the wildcard
    * in the declaration of 'author', they don't make
    * the 'author' element invalid.
    *-->
<p:title>The duck</p:title>
<p:author>
  <p:givenname>Ogden</p:givenname>
  <p:surname>Nash</p:surname> 
</p:author>
<p:stanza>
<p:line>It is especially fond</p:line>
<p:line>Of a puddle or pond.</p:line>
<p:line>When it dines or sups</p:line>
<p:line>It bottoms-ups.</p:line>
</p:stanza>
<p:stanza>
<p:line>Behold the duck.</p:line>
<p:line>It does not cluck.</p:line>
<p:line>A cluck it lacks.</p:line>
<p:line>It quacks.</p:line>
</p:stanza>
</p:poem>


