PRIN_DIAG_CODE -> PRINC_DIAG_CODE in XML generation.