This commit is contained in:
David Dehaven 2016-06-06 13:16:44 -07:00
commit b7df5697db
1589 changed files with 229851 additions and 128707 deletions

View file

@ -51,6 +51,7 @@ final class CatalogResolverImpl implements CatalogResolver {
@Override
public InputSource resolveEntity(String publicId, String systemId) {
CatalogMessages.reportNPEOnNull("systemId", systemId);
//Normalize publicId and systemId
systemId = Normalizer.normalizeURI(Util.getNotNullOrEmpty(systemId));
publicId = Normalizer.normalizePublicId(Normalizer.decodeURN(Util.getNotNullOrEmpty(publicId)));