Eclipse didn't like your dtd in the documentation for XmlDataSet so I tweaked it and came up with the following. (I'm not a dtd or xml expert.)
<?xml version='1.0' encoding='UTF-8'?>
<!ELEMENT dataset (table)+>
<!ELEMENT table (column+, row*)>
<!ATTLIST table
name CDATA #REQUIRED
>
<!ELEMENT column (#PCDATA)>
<!ELEMENT row (value | null)*>
<!ELEMENT value (#PCDATA)>
<!ELEMENT null EMPTY>
dataset dtd
I solved this by adding the "ELEMENT none EMPTY" to the end which was obviously missing. But nevertheless thanks for reporting. The correct DTD is now in the javadocs and is:
<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT dataset (table+)>
<!ELEMENT table (column*, row*)>
<!ATTLIST table name CDATA #REQUIRED>
<!ELEMENT column (#PCDATA)>
<!ELEMENT row (value | null | none)*>
<!ELEMENT value (#PCDATA)>
<!ELEMENT null EMPTY>
<!ELEMENT none EMPTY>
Committed to SVN rev. 1043/trunk.
thx,
matthias