provide proper error line numbers for schemas