Lines Matching refs:pubID
94 static xmlChar *xmlCatalogNormalizePublic(const xmlChar *pubID);
1038 xmlCatalogNormalizePublic(const xmlChar *pubID) in xmlCatalogNormalizePublic() argument
1046 if (pubID == NULL) in xmlCatalogNormalizePublic()
1050 for (p = pubID;*p != 0 && ok;p++) { in xmlCatalogNormalizePublic()
1061 ret = xmlStrdup(pubID); in xmlCatalogNormalizePublic()
1064 for (p = pubID;*p != 0;p++) { in xmlCatalogNormalizePublic()
1092 xmlCatalogListXMLResolve(xmlCatalogEntryPtr catal, const xmlChar *pubID,
1632 xmlCatalogXMLResolve(xmlCatalogEntryPtr catal, const xmlChar *pubID, in xmlCatalogXMLResolve() argument
1749 if (pubID != NULL) { in xmlCatalogXMLResolve()
1755 if (xmlStrEqual(pubID, cur->name)) { in xmlCatalogXMLResolve()
1764 if (!xmlStrncmp(pubID, cur->name, xmlStrlen(cur->name)) && in xmlCatalogXMLResolve()
1789 (!xmlStrncmp(pubID, cur->name, xmlStrlen(cur->name)))) { in xmlCatalogXMLResolve()
1809 cur->children, pubID, NULL); in xmlCatalogXMLResolve()
1833 ret = xmlCatalogListXMLResolve(cur->children, pubID, sysID); in xmlCatalogXMLResolve()
2008 xmlCatalogListXMLResolve(xmlCatalogEntryPtr catal, const xmlChar *pubID, in xmlCatalogListXMLResolve() argument
2016 if ((pubID == NULL) && (sysID == NULL)) in xmlCatalogListXMLResolve()
2019 normid = xmlCatalogNormalizePublic(pubID); in xmlCatalogListXMLResolve()
2021 pubID = (*normid != 0 ? normid : NULL); in xmlCatalogListXMLResolve()
2023 if (!xmlStrncmp(pubID, BAD_CAST XML_URN_PUBID, sizeof(XML_URN_PUBID) - 1)) { in xmlCatalogListXMLResolve()
2024 urnID = xmlCatalogUnWrapURN(pubID); in xmlCatalogListXMLResolve()
2028 "Public URN ID %s expanded to NULL\n", pubID); in xmlCatalogListXMLResolve()
2050 if (pubID == NULL) in xmlCatalogListXMLResolve()
2052 else if (xmlStrEqual(pubID, urnID)) in xmlCatalogListXMLResolve()
2053 ret = xmlCatalogListXMLResolve(catal, pubID, NULL); in xmlCatalogListXMLResolve()
2055 ret = xmlCatalogListXMLResolve(catal, pubID, urnID); in xmlCatalogListXMLResolve()
2069 ret = xmlCatalogXMLResolve(catal->children, pubID, sysID); in xmlCatalogListXMLResolve()
2551 xmlCatalogGetSGMLPublic(xmlHashTablePtr catal, const xmlChar *pubID) { in xmlCatalogGetSGMLPublic() argument
2558 normid = xmlCatalogNormalizePublic(pubID); in xmlCatalogGetSGMLPublic()
2560 pubID = (*normid != 0 ? normid : NULL); in xmlCatalogGetSGMLPublic()
2562 entry = (xmlCatalogEntryPtr) xmlHashLookup(catal, pubID); in xmlCatalogGetSGMLPublic()
2613 xmlCatalogSGMLResolve(xmlCatalogPtr catal, const xmlChar *pubID, in xmlCatalogSGMLResolve() argument
2620 if (pubID != NULL) in xmlCatalogSGMLResolve()
2621 ret = xmlCatalogGetSGMLPublic(catal->sgml, pubID); in xmlCatalogSGMLResolve()
2823 xmlACatalogResolvePublic(xmlCatalogPtr catal, const xmlChar *pubID) { in xmlACatalogResolvePublic() argument
2826 if ((pubID == NULL) || (catal == NULL)) in xmlACatalogResolvePublic()
2831 "Resolve pubID %s\n", pubID); in xmlACatalogResolvePublic()
2834 ret = xmlCatalogListXMLResolve(catal->xml, pubID, NULL); in xmlACatalogResolvePublic()
2840 sgml = xmlCatalogGetSGMLPublic(catal->sgml, pubID); in xmlACatalogResolvePublic()
2859 xmlACatalogResolve(xmlCatalogPtr catal, const xmlChar * pubID, in xmlACatalogResolve() argument
2864 if (((pubID == NULL) && (sysID == NULL)) || (catal == NULL)) in xmlACatalogResolve()
2868 if ((pubID != NULL) && (sysID != NULL)) { in xmlACatalogResolve()
2870 "Resolve: pubID %s sysID %s\n", pubID, sysID); in xmlACatalogResolve()
2871 } else if (pubID != NULL) { in xmlACatalogResolve()
2873 "Resolve: pubID %s\n", pubID); in xmlACatalogResolve()
2881 ret = xmlCatalogListXMLResolve(catal->xml, pubID, sysID); in xmlACatalogResolve()
2887 sgml = xmlCatalogSGMLResolve(catal, pubID, sysID); in xmlACatalogResolve()
3331 xmlCatalogResolvePublic(const xmlChar *pubID) { in xmlCatalogResolvePublic() argument
3337 ret = xmlACatalogResolvePublic(xmlDefaultCatalog, pubID); in xmlCatalogResolvePublic()
3352 xmlCatalogResolve(const xmlChar *pubID, const xmlChar *sysID) { in xmlCatalogResolve() argument
3358 ret = xmlACatalogResolve(xmlDefaultCatalog, pubID, sysID); in xmlCatalogResolve()
3665 xmlCatalogLocalResolve(void *catalogs, const xmlChar *pubID, in xmlCatalogLocalResolve() argument
3673 if ((pubID == NULL) && (sysID == NULL)) in xmlCatalogLocalResolve()
3677 if ((pubID != NULL) && (sysID != NULL)) { in xmlCatalogLocalResolve()
3679 "Local Resolve: pubID %s sysID %s\n", pubID, sysID); in xmlCatalogLocalResolve()
3680 } else if (pubID != NULL) { in xmlCatalogLocalResolve()
3682 "Local Resolve: pubID %s\n", pubID); in xmlCatalogLocalResolve()
3692 ret = xmlCatalogListXMLResolve(catal, pubID, sysID); in xmlCatalogLocalResolve()
3792 xmlCatalogGetPublic(const xmlChar *pubID) { in xmlCatalogGetPublic() argument
3806 if (pubID == NULL) in xmlCatalogGetPublic()
3813 ret = xmlCatalogListXMLResolve(xmlDefaultCatalog->xml, pubID, NULL); in xmlCatalogGetPublic()
3822 return(xmlCatalogGetSGMLPublic(xmlDefaultCatalog->sgml, pubID)); in xmlCatalogGetPublic()