Home | History | Annotate | Download | only in libxml2

Lines Matching refs:urn

70 #define XML_URN_PUBID "urn:publicid:"
819 * @urn: an "urn:publicid:" to unwrap
821 * Expand the URN into the equivalent Public Identifier
827 xmlCatalogUnWrapURN(const xmlChar *urn) {
831 if (xmlStrncmp(urn, BAD_CAST XML_URN_PUBID, sizeof(XML_URN_PUBID) - 1))
833 urn += sizeof(XML_URN_PUBID) - 1;
835 while (*urn != 0) {
838 if (*urn == '+') {
840 urn++;
841 } else if (*urn == ':') {
844 urn++;
845 } else if (*urn == ';') {
848 urn++;
849 } else if (*urn == '%') {
850 if ((urn[1] == '2') && (urn[2] == 'B'))
852 else if ((urn[1] == '3') && (urn[2] == 'A'))
854 else if ((urn[1] == '2') && (urn[2] == 'F'))
856 else if ((urn[1] == '3') && (urn[2] == 'B'))
858 else if ((urn[1] == '2') && (urn[2] == '7'))
860 else if ((urn[1] == '3') && (urn[2] == 'F'))
862 else if ((urn[1] == '2') && (urn[2] == '3'))
864 else if ((urn[1] == '2') && (urn[2] == '5'))
867 result[i++] = *urn;
868 urn++;
871 urn += 3;
873 result[i++] = *urn;
874 urn++;
2028 "Public URN ID %s expanded to NULL\n", pubID);
2031 "Public URN ID expanded to %s\n", urnID);
2045 "System URN ID %s expanded to NULL\n", sysID);
2048 "System URN ID expanded to %s\n", urnID);
2113 "URN ID %s expanded to NULL\n", URI);
2116 "URN ID expanded to %s\n", urnID);