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:
parent
8bbf751396
commit
1afc496142
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user