document type must be properly specified