Fix failure to verify when the XSD/DTD path has a space in it.
authorCarl Hetherington <cth@carlh.net>
Thu, 11 Jun 2020 14:49:33 +0000 (16:49 +0200)
committerCarl Hetherington <cth@carlh.net>
Thu, 11 Jun 2020 14:49:33 +0000 (16:49 +0200)
commita8d652b787b986ec5552816ec24367d98243f6fa
tree4ae8a60a2a82ff8e5967b62d5869748685915d72
parentc6c18f429487fd2cefc0f1cf2424a8bb6065862b
Fix failure to verify when the XSD/DTD path has a space in it.

With spaces in the path we ended up with spaces in the string
passed to setExternalSchemaLocation which screws everything up.
It turns out we can remove the URIs from that string, which seems
to move the resolution between file and URI to the LocalFileResolver,
which may now be asked to resolve either a file or a URI.

Maybe I've missed something obvious here.
src/verify.cc