Add a max size for the registry file.
Fix whitespace in schema xml file