Home | History | Annotate | Download | only in libxml2

Lines Matching refs:pubID

90 static xmlChar *xmlCatalogNormalizePublic(const xmlChar *pubID);
1016 * @pubID: the public ID string
1027 xmlCatalogNormalizePublic(const xmlChar *pubID)
1035 if (pubID == NULL)
1039 for (p = pubID;*p != 0 && ok;p++) {
1050 ret = xmlStrdup(pubID);
1053 for (p = pubID;*p != 0;p++) {
1081 xmlCatalogListXMLResolve(xmlCatalogEntryPtr catal, const xmlChar *pubID,
1611 * @pubID: the public ID string
1623 xmlCatalogXMLResolve(xmlCatalogEntryPtr catal, const xmlChar *pubID,
1740 if (pubID != NULL) {
1746 if (xmlStrEqual(pubID, cur->name)) {
1755 if (!xmlStrncmp(pubID, cur->name, xmlStrlen(cur->name)) &&
1780 (!xmlStrncmp(pubID, cur->name, xmlStrlen(cur->name)))) {
1800 cur->children, pubID, NULL);
1824 ret = xmlCatalogListXMLResolve(cur->children, pubID, sysID);
1987 * @pubID: the public ID string
1999 xmlCatalogListXMLResolve(xmlCatalogEntryPtr catal, const xmlChar *pubID,
2007 if ((pubID == NULL) && (sysID == NULL))
2010 normid = xmlCatalogNormalizePublic(pubID);
2012 pubID = (*normid != 0 ? normid : NULL);
2014 if (!xmlStrncmp(pubID, BAD_CAST XML_URN_PUBID, sizeof(XML_URN_PUBID) - 1)) {
2015 urnID = xmlCatalogUnWrapURN(pubID);
2019 "Public URN ID %s expanded to NULL\n", pubID);
2041 if (pubID == NULL)
2043 else if (xmlStrEqual(pubID, urnID))
2044 ret = xmlCatalogListXMLResolve(catal, pubID, NULL);
2046 ret = xmlCatalogListXMLResolve(catal, pubID, urnID);
2060 ret = xmlCatalogXMLResolve(catal->children, pubID, sysID);
2534 * @pubID: the public ID string
2541 xmlCatalogGetSGMLPublic(xmlHashTablePtr catal, const xmlChar *pubID) {
2548 normid = xmlCatalogNormalizePublic(pubID);
2550 pubID = (*normid != 0 ? normid : NULL);
2552 entry = (xmlCatalogEntryPtr) xmlHashLookup(catal, pubID);
2595 * @pubID: the public ID string
2603 xmlCatalogSGMLResolve(xmlCatalogPtr catal, const xmlChar *pubID,
2610 if (pubID != NULL)
2611 ret = xmlCatalogGetSGMLPublic(catal->sgml, pubID);
2805 * @pubID: the public ID string
2813 xmlACatalogResolvePublic(xmlCatalogPtr catal, const xmlChar *pubID) {
2816 if ((pubID == NULL) || (catal == NULL))
2821 "Resolve pubID %s\n", pubID);
2824 ret = xmlCatalogListXMLResolve(catal->xml, pubID, NULL);
2830 sgml = xmlCatalogGetSGMLPublic(catal->sgml, pubID);
2840 * @pubID: the public ID string
2849 xmlACatalogResolve(xmlCatalogPtr catal, const xmlChar * pubID,
2854 if (((pubID == NULL) && (sysID == NULL)) || (catal == NULL))
2858 if ((pubID != NULL) && (sysID != NULL)) {
2860 "Resolve: pubID %s sysID %s\n", pubID, sysID);
2861 } else if (pubID != NULL) {
2863 "Resolve: pubID %s\n", pubID);
2871 ret = xmlCatalogListXMLResolve(catal->xml, pubID, sysID);
2877 sgml = xmlCatalogSGMLResolve(catal, pubID, sysID);
3316 * @pubID: the public ID string
3324 xmlCatalogResolvePublic(const xmlChar *pubID) {
3330 ret = xmlACatalogResolvePublic(xmlDefaultCatalog, pubID);
3336 * @pubID: the public ID string
3345 xmlCatalogResolve(const xmlChar *pubID, const xmlChar *sysID) {
3351 ret = xmlACatalogResolve(xmlDefaultCatalog, pubID, sysID);
3648 * @pubID: the public ID string
3658 xmlCatalogLocalResolve(void *catalogs, const xmlChar *pubID,
3666 if ((pubID == NULL) && (sysID == NULL))
3670 if ((pubID != NULL) && (sysID != NULL)) {
3672 "Local Resolve: pubID %s sysID %s\n", pubID, sysID);
3673 } else if (pubID != NULL) {
3675 "Local Resolve: pubID %s\n", pubID);
3685 ret = xmlCatalogListXMLResolve(catal, pubID, sysID);
3777 * @pubID: the public ID string
3785 xmlCatalogGetPublic(const xmlChar *pubID) {
3799 if (pubID == NULL)
3806 ret = xmlCatalogListXMLResolve(xmlDefaultCatalog->xml, pubID, NULL);
3815 return(xmlCatalogGetSGMLPublic(xmlDefaultCatalog->sgml, pubID));