text declaration wfness validation
Implemented more XML checks