Fixed issue where invalid schemalocation string was being generated. Fixes #66