fixed bug #104817 with delegateURI fixing bugs #104123 and #104125 Daniel
* catalog.c: fixed bug #104817 with delegateURI
* xpath.c: fixing bugs #104123 and #104125
Daniel
diff --git a/catalog.c b/catalog.c
index e0159e2..c7da306 100644
--- a/catalog.c
+++ b/catalog.c
@@ -1705,7 +1705,8 @@
*/
cur = catal;
while (cur != NULL) {
- if ((cur->type == XML_CATA_DELEGATE_SYSTEM) &&
+ if (((cur->type == XML_CATA_DELEGATE_SYSTEM) ||
+ (cur->type == XML_CATA_DELEGATE_URI)) &&
(!xmlStrncmp(URI, cur->name, xmlStrlen(cur->name)))) {
for (i = 0;i < nbList;i++)
if (xmlStrEqual(cur->URL, delegates[i]))