add xml validation steps to prevent errors
Fix custom attrs, table and list conversion issues