The DOCTYPE declaration cannot be described in the DTD file since it is the one that specifies DTD in XML document. So, errors occurred. The above-mentioned is not a specification of original DataSpider but an error according to the specification decided in XML1.0.
Do not use DOCTYPE declaration if you are using DTD file when setting the schema in XML type data source using Mapper.