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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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
There were some other problems in the code for the SetHandler. Fixed this, should work starting from version 2.1.