Home | History | Annotate | Download | only in libxml2

Lines Matching refs:urn

70 #define XML_URN_PUBID "urn:publicid:"
814 * @urn: an "urn:publicid:" to unwrap
816 * Expand the URN into the equivalent Public Identifier
822 xmlCatalogUnWrapURN(const xmlChar *urn) {
826 if (xmlStrncmp(urn, BAD_CAST XML_URN_PUBID, sizeof(XML_URN_PUBID) - 1))
828 urn += sizeof(XML_URN_PUBID) - 1;
830 while (*urn != 0) {
833 if (*urn == '+') {
835 urn++;
836 } else if (*urn == ':') {
839 urn++;
840 } else if (*urn == ';') {
843 urn++;
844 } else if (*urn == '%') {
845 if ((urn[1] == '2') && (urn[2] == 'B'))
847 else if ((urn[1] == '3') && (urn[2] == 'A'))
849 else if ((urn[1] == '2') && (urn[2] == 'F'))
851 else if ((urn[1] == '3') && (urn[2] == 'B'))
853 else if ((urn[1] == '2') && (urn[2] == '7'))
855 else if ((urn[1] == '3') && (urn[2] == 'F'))
857 else if ((urn[1] == '2') && (urn[2] == '3'))
859 else if ((urn[1] == '2') && (urn[2] == '5'))
862 result[i++] = *urn;
863 urn++;
866 urn += 3;
868 result[i++] = *urn;
869 urn++;
2018 "Public URN ID %s expanded to NULL\n", pubID);
2021 "Public URN ID expanded to %s\n", urnID);
2035 "System URN ID %s expanded to NULL\n", sysID);
2038 "System URN ID expanded to %s\n", urnID);
2103 "URN ID %s expanded to NULL\n", URI);
2106 "URN ID expanded to %s\n", urnID);