Handle case where base URI is initially null

git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226190 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ndw
2005-04-12 20:27:02 +00:00
parent 43682ad7a5
commit 8bbf751396

View File

@@ -923,7 +923,11 @@ public class Catalog {
String value = entry.getEntryArg(0);
URL newbase = null;
catalogManager.debug.message(5, "BASE CUR", base.toString());
if (base == null) {
catalogManager.debug.message(5, "BASE CUR", "null");
} else {
catalogManager.debug.message(5, "BASE CUR", base.toString());
}
catalogManager.debug.message(4, "BASE STR", value);
try {