Lines Matching defs:URI
57 #include <libxml/uri.h>
406 errmsg = "SYSTEM or PUBLIC, the URI is missing";
1814 * @URI: the element namespace name
1822 const xmlChar *prefix, const xmlChar *URI, int nsNr)
1848 ctxt->pushTab[ctxt->nameNr * 3 + 1] = (void *) URI;
1859 * Pops the top element/prefix/URI name from the name stack
4726 xmlChar *URI = NULL;
4738 URI = xmlParseSystemLiteral(ctxt);
4739 if (URI == NULL) {
4777 URI = xmlParseSystemLiteral(ctxt);
4778 if (URI == NULL) {
4782 return(URI);
5456 xmlChar *URI = NULL, *literal = NULL;
5515 URI = xmlParseExternalID(ctxt, &literal, 1);
5516 if ((URI == NULL) && (literal == NULL)) {
5519 if (URI) {
5520 xmlURIPtr uri;
5522 uri = xmlParseURI((const char *) URI);
5523 if (uri == NULL) {
5525 "Invalid URI: %s\n", URI);
5532 if (uri->fragment != NULL) {
5544 literal, URI, NULL);
5546 xmlFreeURI(uri);
5579 URI = xmlParseExternalID(ctxt, &literal, 1);
5580 if ((URI == NULL) && (literal == NULL)) {
5583 if (URI) {
5584 xmlURIPtr uri;
5586 uri = xmlParseURI((const char *)URI);
5587 if (uri == NULL) {
5589 "Invalid URI: %s\n", URI);
5596 if (uri->fragment != NULL) {
5603 xmlFreeURI(uri);
5622 literal, URI, ndata);
5628 literal, URI, NULL);
5650 literal, URI, NULL);
5695 if (URI != NULL) xmlFree(URI);
7270 user_data, ctxt->depth, ent->URI,
7390 ent->URI, ent->ExternalID, NULL);
8316 xmlChar *URI = NULL;
8340 URI = xmlParseExternalID(ctxt, &ExternalID, 1);
8342 if ((URI != NULL) || (ExternalID != NULL)) {
8345 ctxt->extSubURI = URI;
8355 ctxt->sax->internalSubset(ctxt->userData, name, ExternalID, URI);
9298 const xmlChar **URI, int *tlen) {
9373 xmlURIPtr uri;
9382 uri = xmlParseURI((const char *) URL);
9383 if (uri == NULL) {
9385 "xmlns: '%s' is not a valid URI\n",
9388 if (uri->scheme == NULL) {
9390 "xmlns: URI %s is not absolute\n",
9393 xmlFreeURI(uri);
9398 "xml namespace URI cannot be the default namespace\n",
9436 xmlURIPtr uri;
9441 "xml namespace prefix mapped to wrong URI\n",
9452 "xml namespace URI mapped to wrong prefix\n",
9477 uri = xmlParseURI((const char *) URL);
9478 if (uri == NULL) {
9480 "xmlns:%s: '%s' is not a valid URI\n",
9483 if ((ctxt->pedantic) && (uri->scheme == NULL)) {
9485 "xmlns:%s: URI %s is not absolute\n",
9488 xmlFreeURI(uri);
9531 atts[nbatts++] = NULL; /* the URI will be fetched later */
9696 *URI = nsname;
9758 const xmlChar *URI, int line, int nsNr, int tlen) {
9817 ctxt->sax->endElementNs(ctxt->userData, ctxt->name, prefix, URI);
10037 const xmlChar *URI = NULL;
10070 name = xmlParseStartTag2(ctxt, &prefix, &URI, &tlen);
10103 ctxt->sax->endElementNs(ctxt->userData, name, prefix, URI);
10179 xmlParseEndTag2(ctxt, prefix, URI, line, ctxt->nsNr - nsNr, tlen);
11448 const xmlChar *URI = NULL;
11479 name = xmlParseStartTag2(ctxt, &prefix, &URI, &tlen);
11515 prefix, URI);
11547 nameNsPush(ctxt, name, prefix, URI, ctxt->nsNr - nsNr);
12462 * @filename: an optional file name or URI
14083 * @base: a possible base for the target URI
14098 xmlChar *uri;
14110 uri = xmlBuildURI(URL, base);
14112 if (uri == NULL) {
14126 inputStream = xmlLoadExternalEntity((char *)uri, (char *)ID, ctxt);
14128 xmlFree(uri);
14136 directory = xmlParserGetDirectory((char *)uri);
14139 xmlFree(uri);
14148 * @base: a possible base for the target URI
15010 * @filename: an optional file name or URI