Add GPL license
Removed func addFieldInfo
Info on xml parse error for type mismatch.