Fixed a rare bug where using the ``string`` type in the XML Schema library and using an empty value could cause a crash.