# errors on mismatch data type when validaing define.xml

**URL:** <https://forum.certara.com/t/errors-on-mismatch-data-type-when-validaing-define-xml/162>\
**Category:** Define.xml\
**Created:** [October 5, 2010, 4:05pm UTC](https://forum.certara.com/t/errors-on-mismatch-data-type-when-validaing-define-xml/162 "2010-10-05T16:05:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vnguyen](https://avatars.discourse-cdn.com/v4/letter/v/c89c15/32.png) [@vnguyen](https://forum.certara.com/u/vnguyen)\
**Post date:** [October 5, 2010, 4:05pm UTC](https://forum.certara.com/t/errors-on-mismatch-data-type-when-validaing-define-xml/162/1 "2010-10-05T16:05:35Z")

</div>

Hi,

I got an error and a warning message as below when validated the define.xml

The error refers to rule # OD0080: ItemDef/CodeList ‘DataType’ mismatch, where //ItemDef[@OID=‘AE.AEENDTC’] has datatype=‘datetime’ and the ISO8601 codelist datatype=‘text’

The warning refers to rule # DD0010:ODM attribute ‘SASDatasetName’ should not be included in Define.xml. These are the SASDatasetName attribute that I have in teh define.xml to show the dataset names on the TOC

Any help is appreciated on why the errors appear and how to resolve them. I did a test run by validating the define.xml from the sample metadata submission from CDISC website and got the same errors.

Thank you for your help in advance.
