diff --git a/OneM2M_Types.ttcn b/OneM2M_Types.ttcn
index 49607e59bd537a3ec71320c220fd6acdaca8c7e0..b7d3305577879132a3d7c9145fb3a760c0bf5d93 100644
--- a/OneM2M_Types.ttcn
+++ b/OneM2M_Types.ttcn
@@ -3189,7 +3189,7 @@ type record ListOfAttributes
 {
 	record length(1 .. infinity) of record {
 		XSD.NCName name,
-		XSD.AnySimpleType value_ optional //TODO Use XSD.AnySimpleType instead
+		XSD.anyType value_ optional //TODO Use XSD.anyType instead
 	} attribute_list
 }
 with {
diff --git a/XSD.ttcn b/XSD.ttcn
index 0e2ad4e36746c15404105c8b7cc396098594efaa..4935c7f3283d8baa00ab8c89332ceb0b613be8eb 100644
--- a/XSD.ttcn
+++ b/XSD.ttcn
@@ -55,6 +55,8 @@ variant "XSD:anyType";
 //variant (attr) "anyAttributes";
 //variant (elem_list) "anyElement";
 };
+
+type anytype anyType;
 // String types
 
 type XMLCompatibleString String