title: XML Val Error Source of issue How to proceed
body: <p>I am working in a Assessment trying to learn XML But when I valisdate it I get this </p>
  
  <pre><code>19: 30  Element type "Name" must not be declared more than once.
  20: 33  Element type "Company" must not be declared more than once.
  21: 38  Element type "Date_Created" must not be declared more than once.
  22: 33  Element type "Programmers" must not be declared more than once.
  23: 29  Element type "P1" must not be declared more than once.
  24: 29  Element type "P2" must not be declared more than once.
  26: 37  Element type "Last_Update" must not be declared more than once.
  27: 30  Element type "Link" must not be declared more than once.
  29: 30  Element type "Name" must not be declared more than once.
  30: 33  Element type "Company" must not be declared more than once.
  31: 38  Element type "Date_Created" must not be declared more than once.
  32: 37  Element type "Programmers" must not be declared more than once.
  33: 29  Element type "P1" must not be declared more than once.
  34: 37  Element type "Last_Update" must not be declared more than once.
  35: 37  Element type "Link" must not be declared more than once.
  64: 19  The content of element type "Programmers" must match "(P1+,P2+)".
  67: 26  The content of element type "Accove_Address_Book" must match "null".
  74: 19  The content of element type "Programmers" is incomplete, it must match "(P1+,P2+)".
  79: 12  The content of element type "Link" must match "null".
  80: 21  The content of element type "Accove_Notepad" must match "null".
  </code></pre>
  
  <p>This is My FIle</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  
  &lt;!DOCTYPE Widgets [
  &lt;!ENTITY comp 'Accove Pty Ltd'&gt;
  &lt;!ELEMENT Widgets (Catagory)&gt;
  &lt;!ELEMENT Catagory (Tool,Storage)&gt;
      &lt;!ELEMENT Tool (ACCOVE)&gt;
          &lt;!ELEMENT ACCOVE (Name+,Company+,Date_Created+,Programmers+,Last_Update+,Link+)&gt;
              &lt;!ELEMENT Name (#PCDATA)&gt;
              &lt;!ELEMENT Company (#PCDATA)&gt;
              &lt;!ELEMENT Date_Created (#PCDATA)&gt;
              &lt;!ELEMENT Programmers (P1+,P2+)&gt;
                  &lt;!ELEMENT P1 (#PCDATA)&gt;
                  &lt;!ELEMENT P2 (#PCDATA)&gt;
              &lt;!ELEMENT Last_Update (#PCDATA)&gt;
              &lt;!ELEMENT Link (#PCDATA)&gt;
      &lt;!ELEMENT Storage (Accove_Address_Book,Accove_Notepad)&gt;
          &lt;!ELEMENT Accove_Address_Book (#PCDATA)&gt;
              &lt;!ELEMENT Name (#PCDATA)&gt;
              &lt;!ELEMENT Company (#PCDATA)&gt;
              &lt;!ELEMENT Date_Created (#PCDATA)&gt;
              &lt;!ELEMENT Programmers (P3*)&gt;
                  &lt;!ELEMENT P1 (#PCDATA)&gt;
                  &lt;!ELEMENT P2 (#PCDATA)&gt;
                  &lt;!ELEMENT P3 (#PCDATA)&gt;
              &lt;!ELEMENT Last_Update (#PCDATA)&gt;
              &lt;!ELEMENT Link (#PCDATA)&gt;
          &lt;!ELEMENT Accove_Notepad (#PCDATA)&gt;
              &lt;!ELEMENT Name (#PCDATA)&gt;
              &lt;!ELEMENT Company (#PCDATA)&gt;
              &lt;!ELEMENT Date_Created (#PCDATA)&gt;
              &lt;!ELEMENT Programmers (#PCDATA)&gt;
                  &lt;!ELEMENT P1 (#PCDATA)&gt;
              &lt;!ELEMENT Last_Update (#PCDATA)&gt;
              &lt;!ELEMENT Link (First*,Second*)&gt;
                  &lt;!ELEMENT First (#PCDATA)&gt;
                  &lt;!ELEMENT Second (#PCDATA)&gt;
  ]&gt;
  
  &lt;Widgets&gt;
  &lt;Catagory&gt;
      &lt;Tool&gt;
          &lt;ACCOVE&gt;
              &lt;Name&gt;ACCOVE&lt;/Name&gt;
              &lt;Company&gt;&amp;comp;&lt;/Company&gt;
              &lt;Date_Created&gt;01/07/2011&lt;/Date_Created&gt;
              &lt;Programmers&gt;
                  &lt;P1&gt;Lauren Mullican&lt;/P1&gt;
                  &lt;P2&gt;Anthony Ellman&lt;/P2&gt;
              &lt;/Programmers&gt;
              &lt;Last_Update&gt;06/12/2015&lt;/Last_Update&gt;
              &lt;Link&gt;image/weath1.jpg&lt;/Link&gt;
          &lt;/ACCOVE&gt;
      &lt;/Tool&gt;
      &lt;Storage&gt;
          &lt;Accove_Address_Book&gt;
              &lt;Name&gt;Accove Address Book&lt;/Name&gt;
              &lt;Company&gt;&amp;comp;&lt;/Company&gt;
              &lt;Date_Created&gt;23/04/2013&lt;/Date_Created&gt;
              &lt;Programmers&gt;
                  &lt;P1&gt;Charlie Darlington,&lt;/P1&gt;
                  &lt;P2&gt;Nadine Pellegrin&lt;/P2&gt;
                  &lt;P3&gt;Tobias Paniagua&lt;/P3&gt;
              &lt;/Programmers&gt;
              &lt;Last_Update&gt;25/04/2013&lt;/Last_Update&gt;
              &lt;Link&gt;N/A&lt;/Link&gt;
          &lt;/Accove_Address_Book&gt;
          &lt;Accove_Notepad&gt;
              &lt;Name&gt;Accove Notepad&lt;/Name&gt;
              &lt;Company&gt;&amp;comp;&lt;/Company&gt;
              &lt;Date_Created&gt;05/05/2016&lt;/Date_Created&gt;
              &lt;Programmers&gt;
                  &lt;P1&gt;Anthony Ellman&lt;/P1&gt;
              &lt;/Programmers&gt;
              &lt;Last_Update&gt;05/05/2016&lt;/Last_Update&gt;
              &lt;Link&gt;
                  &lt;First&gt;image/note1.jog&lt;/First&gt;
                  &lt;Second&gt;image/note2.jpg&lt;/Second&gt;
              &lt;/Link&gt;
          &lt;/Accove_Notepad&gt;
      &lt;/Storage&gt;
  &lt;/Catagory&gt;
  &lt;/Widgets&gt; 
  </code></pre>
  
  <p>I am not sure how to Do the DTD right.?
  DO I nest the elements in the DTD the same as I do in the XML.?
  How do I get rid of the Null?</p>
  
  <p>Any help would be amzing PLS or links to reading that would outline my problems. </p>