To me, the Protege thus has a bug. It
should be able to recognize that #MyDate is a datatype. The EODM transformation
here is correct.
To get XSD datatypes, you just need
use EBoolean, EFloat, EByte, EInt, EString, etc., instead of your own datatype.
Unfortunately, it seems that there is no EDate.