Home | History | Annotate | Download | only in libxml2

Lines Matching refs:pubID

94 static xmlChar *xmlCatalogNormalizePublic(const xmlChar *pubID);
1022 * @pubID: the public ID string
1033 xmlCatalogNormalizePublic(const xmlChar *pubID)
1041 if (pubID == NULL)
1045 for (p = pubID;*p != 0 && ok;p++) {
1056 ret = xmlStrdup(pubID);
1059 for (p = pubID;*p != 0;p++) {
1087 xmlCatalogListXMLResolve(xmlCatalogEntryPtr catal, const xmlChar *pubID,
1615 * @pubID: the public ID string
1627 xmlCatalogXMLResolve(xmlCatalogEntryPtr catal, const xmlChar *pubID,
1744 if (pubID != NULL) {
1750 if (xmlStrEqual(pubID, cur->name)) {
1759 if (!xmlStrncmp(pubID, cur->name, xmlStrlen(cur->name)) &&
1784 (!xmlStrncmp(pubID, cur->name, xmlStrlen(cur->name)))) {
1804 cur->children, pubID, NULL);
1828 ret = xmlCatalogListXMLResolve(cur->children, pubID, sysID);
1991 * @pubID: the public ID string
2003 xmlCatalogListXMLResolve(xmlCatalogEntryPtr catal, const xmlChar *pubID,
2011 if ((pubID == NULL) && (sysID == NULL))
2014 normid = xmlCatalogNormalizePublic(pubID);
2016 pubID = (*normid != 0 ? normid : NULL);
2018 if (!xmlStrncmp(pubID, BAD_CAST XML_URN_PUBID, sizeof(XML_URN_PUBID) - 1)) {
2019 urnID = xmlCatalogUnWrapURN(pubID);
2023 "Public URN ID %s expanded to NULL\n", pubID);
2045 if (pubID == NULL)
2047 else if (xmlStrEqual(pubID, urnID))
2048 ret = xmlCatalogListXMLResolve(catal, pubID, NULL);
2050 ret = xmlCatalogListXMLResolve(catal, pubID, urnID);
2064 ret = xmlCatalogXMLResolve(catal->children, pubID, sysID);
2538 * @pubID: the public ID string
2545 xmlCatalogGetSGMLPublic(xmlHashTablePtr catal, const xmlChar *pubID) {
2552 normid = xmlCatalogNormalizePublic(pubID);
2554 pubID = (*normid != 0 ? normid : NULL);
2556 entry = (xmlCatalogEntryPtr) xmlHashLookup(catal, pubID);
2599 * @pubID: the public ID string
2607 xmlCatalogSGMLResolve(xmlCatalogPtr catal, const xmlChar *pubID,
2614 if (pubID != NULL)
2615 ret = xmlCatalogGetSGMLPublic(catal->sgml, pubID);
2809 * @pubID: the public ID string
2817 xmlACatalogResolvePublic(xmlCatalogPtr catal, const xmlChar *pubID) {
2820 if ((pubID == NULL) || (catal == NULL))
2825 "Resolve pubID %s\n", pubID);
2828 ret = xmlCatalogListXMLResolve(catal->xml, pubID, NULL);
2834 sgml = xmlCatalogGetSGMLPublic(catal->sgml, pubID);
2844 * @pubID: the public ID string
2853 xmlACatalogResolve(xmlCatalogPtr catal, const xmlChar * pubID,
2858 if (((pubID == NULL) && (sysID == NULL)) || (catal == NULL))
2862 if ((pubID != NULL) && (sysID != NULL)) {
2864 "Resolve: pubID %s sysID %s\n", pubID, sysID);
2865 } else if (pubID != NULL) {
2867 "Resolve: pubID %s\n", pubID);
2875 ret = xmlCatalogListXMLResolve(catal->xml, pubID, sysID);
2881 sgml = xmlCatalogSGMLResolve(catal, pubID, sysID);
3320 * @pubID: the public ID string
3328 xmlCatalogResolvePublic(const xmlChar *pubID) {
3334 ret = xmlACatalogResolvePublic(xmlDefaultCatalog, pubID);
3340 * @pubID: the public ID string
3349 xmlCatalogResolve(const xmlChar *pubID, const xmlChar *sysID) {
3355 ret = xmlACatalogResolve(xmlDefaultCatalog, pubID, sysID);
3652 * @pubID: the public ID string
3662 xmlCatalogLocalResolve(void *catalogs, const xmlChar *pubID,
3670 if ((pubID == NULL) && (sysID == NULL))
3674 if ((pubID != NULL) && (sysID != NULL)) {
3676 "Local Resolve: pubID %s sysID %s\n", pubID, sysID);
3677 } else if (pubID != NULL) {
3679 "Local Resolve: pubID %s\n", pubID);
3689 ret = xmlCatalogListXMLResolve(catal, pubID, sysID);
3781 * @pubID: the public ID string
3789 xmlCatalogGetPublic(const xmlChar *pubID) {
3803 if (pubID == NULL)
3810 ret = xmlCatalogListXMLResolve(xmlDefaultCatalog->xml, pubID, NULL);
3819 return(xmlCatalogGetSGMLPublic(xmlDefaultCatalog->sgml, pubID));