The X code should only be used for students who are not of statutory age.
If an X code (or any X sub-codes e.g. X01) has been used for a student(s), you'll need to amend the mark to one of the other attendance codes that is not X (or any X sub-codes).
Please refer to our guide - Register Attendance Codes