Fix resolveDocument(); it returned the wrong thing

git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226191 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ndw 2005-04-12 20:28:03 +00:00
parent 8bbf751396
commit 1afc496142

View File

@ -1274,7 +1274,7 @@ public class Catalog {
while (en.hasMoreElements()) { while (en.hasMoreElements()) {
CatalogEntry e = (CatalogEntry) en.nextElement(); CatalogEntry e = (CatalogEntry) en.nextElement();
if (e.getEntryType() == DOCUMENT) { if (e.getEntryType() == DOCUMENT) {
return e.getEntryArg(1); //FIXME check this return e.getEntryArg(0);
} }
} }