Home | History | Annotate | Download | only in libxml2

Lines Matching defs:URI

63 #include <libxml/uri.h>
413 errmsg = "SYSTEM or PUBLIC, the URI is missing";
1828 * @URI: the element namespace name
1836 const xmlChar *prefix, const xmlChar *URI, int nsNr)
1862 ctxt->pushTab[ctxt->nameNr * 3 + 1] = (void *) URI;
1873 * Pops the top element/prefix/URI name from the name stack
4612 xmlChar *URI = NULL;
4623 URI = xmlParseSystemLiteral(ctxt);
4624 if (URI == NULL) {
4655 URI = xmlParseSystemLiteral(ctxt);
4656 if (URI == NULL) {
4660 return(URI);
5335 xmlChar *URI = NULL, *literal = NULL;
5390 URI = xmlParseExternalID(ctxt, &literal, 1);
5391 if ((URI == NULL) && (literal == NULL)) {
5394 if (URI) {
5395 xmlURIPtr uri;
5397 uri = xmlParseURI((const char *) URI);
5398 if (uri == NULL) {
5400 "Invalid URI: %s\n", URI);
5407 if (uri->fragment != NULL) {
5419 literal, URI, NULL);
5421 xmlFreeURI(uri);
5454 URI = xmlParseExternalID(ctxt, &literal, 1);
5455 if ((URI == NULL) && (literal == NULL)) {
5458 if (URI) {
5459 xmlURIPtr uri;
5461 uri = xmlParseURI((const char *)URI);
5462 if (uri == NULL) {
5464 "Invalid URI: %s\n", URI);
5471 if (uri->fragment != NULL) {
5478 xmlFreeURI(uri);
5495 literal, URI, ndata);
5501 literal, URI, NULL);
5523 literal, URI, NULL);
5569 if (URI != NULL) xmlFree(URI);
7117 user_data, ctxt->depth, ent->URI,
7242 ent->URI, ent->ExternalID, NULL);
8197 xmlChar *URI = NULL;
8221 URI = xmlParseExternalID(ctxt, &ExternalID, 1);
8223 if ((URI != NULL) || (ExternalID != NULL)) {
8226 ctxt->extSubURI = URI;
8236 ctxt->sax->internalSubset(ctxt->userData, name, ExternalID, URI);
9178 const xmlChar **URI, int *tlen) {
9244 xmlURIPtr uri;
9253 uri = xmlParseURI((const char *) URL);
9254 if (uri == NULL) {
9256 "xmlns: '%s' is not a valid URI\n",
9259 if (uri->scheme == NULL) {
9261 "xmlns: URI %s is not absolute\n",
9264 xmlFreeURI(uri);
9269 "xml namespace URI cannot be the default namespace\n",
9296 xmlURIPtr uri;
9301 "xml namespace prefix mapped to wrong URI\n",
9312 "xml namespace URI mapped to wrong prefix\n",
9337 uri = xmlParseURI((const char *) URL);
9338 if (uri == NULL) {
9340 "xmlns:%s: '%s' is not a valid URI\n",
9343 if ((ctxt->pedantic) && (uri->scheme == NULL)) {
9345 "xmlns:%s: URI %s is not absolute\n",
9348 xmlFreeURI(uri);
9378 * The namespace URI field is used temporarily to point at the
9437 atts[i+2] = NULL; /* Reset repurposed namespace URI */
9571 *URI = nsname;
9617 const xmlChar *URI, int line, int nsNr, int tlen) {
9680 ctxt->sax->endElementNs(ctxt->userData, ctxt->name, prefix, URI);
9895 const xmlChar *URI = NULL;
9928 name = xmlParseStartTag2(ctxt, &prefix, &URI, &tlen);
9961 ctxt->sax->endElementNs(ctxt->userData, name, prefix, URI);
10037 xmlParseEndTag2(ctxt, prefix, URI, line, ctxt->nsNr - nsNr, tlen);
11311 const xmlChar *URI = NULL;
11342 name = xmlParseStartTag2(ctxt, &prefix, &URI, &tlen);
11378 prefix, URI);
11410 nameNsPush(ctxt, name, prefix, URI, ctxt->nsNr - nsNr);
12322 * @filename: an optional file name or URI
13973 * @base: a possible base for the target URI
13988 xmlChar *uri;
14005 uri = xmlBuildURI(URL, base);
14007 if (uri == NULL) {
14021 inputStream = xmlLoadExternalEntity((char *)uri, (char *)ID, ctxt);
14023 xmlFree(uri);
14031 directory = xmlParserGetDirectory((char *)uri);
14034 xmlFree(uri);
14043 * @base: a possible base for the target URI
14905 * @filename: an optional file name or URI