The specification says that the CorePerson.Gender is a Code and that the Publications Office Gender codelist has to be used.
The XSD file in V1.0 (did not find yet the xsds for 2.2) uses a data type "text" for gender. (same for Core Location AdminUnitL1 ).
The recommendation is to use the data type URI or an own data type for codelists but not text.
The specification says that the CorePerson.Gender is a Code and that the Publications Office Gender codelist has to be used. The XSD file in V1.0 (did not find yet the xsds for 2.2) uses a data type "text" for gender. (same for Core Location AdminUnitL1 ).
The recommendation is to use the data type URI or an own data type for codelists but not text.