Fixed bug in XSD test that wasn't being caught by Oracle's JDK, but was

in OpenJDK used by CI build server.