8 Replies Latest reply on Nov 27, 2014 5:49 AM by nilambari

    XML error message: "XX is an invalid table element or appears in the wrong order"

    Mansb Level 1

      Hi all,

       

      In my attempts to import an XML document I have begun encoding tables by means of namespace attributes. When I import the XML, I get the following error message: "<TEVLSTAT> is an invalid table element or appears in the wrong order."

       

      I am at a loss to explain this. Does anyone have any helpful ideas?

       

      Here is the XML:

       

      <?xml version="1.0" encoding="ISO-8859-1"?>
      <HINGSTAR xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/">
      
      <RUBRIK1>Easy Lover</RUBRIK1>
      <REGUPPG>Född 1992, svartbrun, reg.nr 92-1015</REGUPPG>
      <UPPF>Uppfödare: AB Superbus, Lund</UPPF>
      
      <HERSTAMNING aid:table="table" aid:trows="8" aid:tcols="3">
      <CELL aid:table="cell" aid:crows="4" aid:ccols="1" aid:ccolwidth="62">
      <NAMN>Mack Lobell</NAMN>
      <REKORD>*1.09,7 a</REKORD>
      <PRISSUM>22.408.640</PRISSUM>
      <LIVSRAD>94  71-10-6</LIVSRAD>
      </CELL>
      <CELL aid:table="cell" aid:crows="2" aid:ccols="1" aid:ccolwidth="60">
      <NAMN>Mystic Park</NAMN>
      </CELL>
      <CELL aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="79">
      <NAMN>Noble Gesture</NAMN>
      </CELL>
      <CELL aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="79">
      <NAMN>Mystic Sign</NAMN>
      </CELL>
      <CELL aid:table="cell" aid:crows="2" aid:ccols="1" aid:ccolwidth="60">
      <NAMN>Matina Hanover</NAMN>
      </CELL>
      <CELL aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="79">
      <NAMN>Speedy Count</NAMN>
      </CELL>
      <CELL aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="79">
      <NAMN>Matora Hanover</NAMN>
      </CELL>
      <CELL aid:table="cell" aid:crows="4" aid:ccols="1" aid:ccolwidth="62">
      <NAMN>Delmonica Hanover</NAMN>
      <REKORD>1.12,7 a</REKORD>
      <PRISSUM>4.621.350</PRISSUM>
      <LIVSRAD>124  52-27-14</LIVSRAD>
      </CELL>
      <CELL aid:table="cell" aid:crows="2" aid:ccols="1" aid:ccolwidth="60">
      <NAMN>Speedy Count</NAMN>
      </CELL>
      <CELL aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="79">
      <NAMN>Speedster</NAMN>
      </CELL>
      <CELL aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="79">
      <NAMN>Countess Song</NAMN>
      </CELL>
      <CELL aid:table="cell" aid:crows="2" aid:ccols="1" aid:ccolwidth="60">
      <NAMN>Delicious</NAMN>
      </CELL>
      <CELL aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="79">
      <NAMN>Kimberly Kid</NAMN>
      </CELL>
      <CELL aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="79">
      <NAMN>Lively Lady</NAMN>
      </CELL>
      </HERSTAMNING>
      
      <TSRUBRIK><TSRUBRIK1>Easy Lover</TSRUBRIK1> <TSRUBRIK2>TÄVLINGSSTATISTIK</TSRUBRIK2> <TSRUBRIK3>uppgifter per 2009-10-22</TSRUBRIK3></TSRUBRIK>
      <TEVLSTAT aid:table="table" aid:tcols="9">
      <CELL aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="26">Ålder</CELL>
      <CELL aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="49">Antal starter</CELL>
      <CELL aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="49">Segrar placeringar</CELL>
      <CELL aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="49">Seger %</CELL>
      <CELL aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="49">Plac %</CELL>
      <CELL aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="49">Prissumma</CELL>
      <CELL aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="49">Prissumma per start</CELL>
      <CELL aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="49">Volt-rekord</CELL>
      <CELL aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="49">Auto-rekord</CELL>
      <CELL aid:table="cell">3 år</CELL>
      <CELL aid:table="cell">19</CELL>
      <CELL aid:table="cell">10-1-0</CELL>
      <CELL aid:table="cell">53</CELL>
      <CELL aid:table="cell">58</CELL>
      <CELL aid:table="cell">545.000</CELL>
      <CELL aid:table="cell">28.684</CELL>
      <CELL aid:table="cell">*1.19,6</CELL>
      <CELL aid:table="cell">1.13,8</CELL>
      <CELL aid:table="cell">4 år</CELL>
      <CELL aid:table="cell">14</CELL>
      <CELL aid:table="cell">3-1-3</CELL>
      <CELL aid:table="cell">21</CELL>
      <CELL aid:table="cell">50</CELL>
      <CELL aid:table="cell">874.550</CELL>
      <CELL aid:table="cell">62.468</CELL>
      <CELL aid:table="cell"></CELL>
      <CELL aid:table="cell">1.13,2</CELL>
      <CELL aid:table="cell">5 år</CELL>
      <CELL aid:table="cell">16</CELL>
      <CELL aid:table="cell">0-3-5</CELL>
      <CELL aid:table="cell">0</CELL>
      <CELL aid:table="cell">50</CELL>
      <CELL aid:table="cell">131.850</CELL>
      <CELL aid:table="cell">8.241</CELL>
      <CELL aid:table="cell">1.15,1</CELL>
      <CELL aid:table="cell">1.14,0</CELL>
      <CELL aid:table="cell">6 år</CELL>
      <CELL aid:table="cell">5</CELL>
      <CELL aid:table="cell">1-0-0</CELL>
      <CELL aid:table="cell">20</CELL>
      <CELL aid:table="cell">20</CELL>
      <CELL aid:table="cell">31.000</CELL>
      <CELL aid:table="cell">6.200</CELL>
      <CELL aid:table="cell">*1.15,7</CELL>
      <CELL aid:table="cell">1.15,2</CELL>
      <CELL aid:table="cell">7 år</CELL>
      <CELL aid:table="cell">14</CELL>
      <CELL aid:table="cell">1-0-1</CELL>
      <CELL aid:table="cell">7</CELL>
      <CELL aid:table="cell">14</CELL>
      <CELL aid:table="cell">319.104</CELL>
      <CELL aid:table="cell">22.793</CELL>
      <CELL aid:table="cell">1.15,9</CELL>
      <CELL aid:table="cell">1.14,6</CELL>
      <CELL aid:table="cell">8 år</CELL>
      <CELL aid:table="cell">8</CELL>
      <CELL aid:table="cell">0-0-0</CELL>
      <CELL aid:table="cell">0</CELL>
      <CELL aid:table="cell">0</CELL>
      <CELL aid:table="cell">7.560</CELL>
      <CELL aid:table="cell">945</CELL>
      <CELL aid:table="cell">1.18,7</CELL>
      <CELL aid:table="cell">1.16,7</CELL>
      <CELL aid:table="cell">Totalt</CELL>
      <CELL aid:table="cell">76</CELL>
      <CELL aid:table="cell">15-5-9</CELL>
      <CELL aid:table="cell">20</CELL>
      <CELL aid:table="cell">38</CELL>
      <CELL aid:table="cell">1.909.064</CELL>
      <CELL aid:table="cell">25.119</CELL>
      <CELL aid:table="cell">1.15,1</CELL>
      <CELL aid:table="cell">1.13,2</CELL>
      </TEVLSTAT>
      <!-- etc... -->
      
      </HINGSTAR>
      

       

      Yours,

      Måns