Home | History | Annotate | Download | only in src

Lines Matching refs:urn

68 #define XML_URN_PUBID "urn:publicid:"
810 * @urn: an "urn:publicid:" to unwrap
812 * Expand the URN into the equivalent Public Identifier
818 xmlCatalogUnWrapURN(const xmlChar *urn) {
822 if (xmlStrncmp(urn, BAD_CAST XML_URN_PUBID, sizeof(XML_URN_PUBID) - 1))
824 urn += sizeof(XML_URN_PUBID) - 1;
826 while (*urn != 0) {
829 if (*urn == '+') {
831 urn++;
832 } else if (*urn == ':') {
835 urn++;
836 } else if (*urn == ';') {
839 urn++;
840 } else if (*urn == '%') {
841 if ((urn[1] == '2') && (urn[2] == 'B'))
843 else if ((urn[1] == '3') && (urn[2] == 'A'))
845 else if ((urn[1] == '2') && (urn[2] == 'F'))
847 else if ((urn[1] == '3') && (urn[2] == 'B'))
849 else if ((urn[1] == '2') && (urn[2] == '7'))
851 else if ((urn[1] == '3') && (urn[2] == 'F'))
853 else if ((urn[1] == '2') && (urn[2] == '3'))
855 else if ((urn[1] == '2') && (urn[2] == '5'))
858 result[i++] = *urn;
859 urn++;
862 urn += 3;
864 result[i++] = *urn;
865 urn++;
2022 "Public URN ID %s expanded to NULL\n", pubID);
2025 "Public URN ID expanded to %s\n", urnID);
2039 "System URN ID %s expanded to NULL\n", sysID);
2042 "System URN ID expanded to %s\n", urnID);
2107 "URN ID %s expanded to NULL\n", URI);
2110 "URN ID expanded to %s\n", urnID);