Lines Matching defs:fragment
54 xmlChar *fragment; /* the fragment in the URI */
206 if (ref->fragment != NULL)
207 xmlFree(ref->fragment);
240 ret->fragment = NULL;
491 xmlChar *fragment = NULL;
570 fragment = xmlXIncludeGetProp(ctxt, cur, XINCLUDE_PARSE_XPOINTER);
573 * Check the URL and remove any fragment identifier
579 if (fragment != NULL)
580 xmlFree(fragment);
585 if (uri->fragment != NULL) {
587 if (fragment == NULL) {
588 fragment = (xmlChar *) uri->fragment;
590 xmlFree(uri->fragment);
594 "Invalid fragment identifier in URI %s use the xpointer attribute\n",
596 if (fragment != NULL)
597 xmlFree(fragment);
602 uri->fragment = NULL;
610 if (fragment != NULL)
611 xmlFree(fragment);
616 * If local and xml then we need a fragment
619 ((fragment == NULL) || (fragment[0] == 0))) {
623 if (fragment != NULL)
624 xmlFree(fragment);
645 ref->fragment = fragment;
1396 xmlChar *fragment = NULL;
1406 * Check the URL and remove any fragment identifier
1415 if (uri->fragment != NULL) {
1416 fragment = (xmlChar *) uri->fragment;
1417 uri->fragment = NULL;
1420 (ctxt->incTab[nr]->fragment != NULL)) {
1421 if (fragment != NULL) xmlFree(fragment);
1422 fragment = xmlStrdup(ctxt->incTab[nr]->fragment);
1435 if (fragment != NULL)
1436 xmlFree(fragment);
1477 if (fragment != NULL) { /* if this is an XPointer eval */
1488 if (fragment != NULL)
1489 xmlFree(fragment);
1534 if (fragment == NULL) {
1569 xmlFree(fragment);
1572 xptr = xmlXPtrEval(fragment, xptrctxt);
1577 fragment);
1580 xmlFree(fragment);
1594 fragment);
1597 xmlFree(fragment);
1604 xmlFree(fragment);
1636 fragment);
1643 fragment);
1658 fragment);
1674 xmlFree(fragment);
1795 * Check the URL and remove any fragment identifier
1803 if (uri->fragment != NULL) {
1805 "fragment identifier forbidden for text: %s\n",
1806 (const xmlChar *) uri->fragment);