Menu

The content of element type "set" is incomple

Sowmya S
2003-09-25
2003-09-30
  • Sowmya S

    Sowmya S - 2003-09-25

    I am using SQLUnit 1.8

    when I try to set a value to a variable using set tag
    <set name="${var}" value="12" />

    I am getting this error
    Malformed XML: Error on line 558: The content of element type "set" is incomplete, it must match "(EMPTY)".

    I don't know what is the problem.Can any one help

    Thanks in Advance
    Sowmya

     
    • Sujit Pal

      Sujit Pal - 2003-09-25

      That was caused by a bad DTD specification:
      <!ELEMENT set (EMPTY)>
        <!ATTLIST set
          name CDATA #REQUIRED
          value CDATA #REQUIRED>
      instead of
      <!ELEMENT set EMPTY>
        <!ATTLIST set
          name CDATA #REQUIRED
          value CDATA #REQUIRED>
      Its fixed in cvs now, sorry about that. I will bundle this change into the next release.
      You will only need to download the docs/sqlunit.dtd file from CVS and copy it to your dtd location.

      -sujit

       
    • Sujit Pal

      Sujit Pal - 2003-09-30

      There were some other problems in the code for the SetHandler. Fixed this, should work starting from version 2.1.

       

Log in to post a comment.