Lines Matching defs:prefix

701     xmlChar *name = NULL, *prefix = NULL;
721 /* TODO: optimize name/prefix allocation */
722 name = xmlSplitQName(ctxt, fullname, &prefix);
726 name, prefix, (xmlAttributeType) type,
730 name, prefix, (xmlAttributeType) type,
747 if (prefix != NULL)
748 xmlFree(prefix);
1041 * @fullname: The attribute name, including namespace prefix
1043 * @prefix: the prefix on the element node
1052 const xmlChar *value, const xmlChar *prefix ATTRIBUTE_UNUSED)
1062 * Split the full name into a namespace prefix and the tag name
1154 ctxt->node, prefix, nsret, val);
1188 "Empty namespace name for prefix %s\n", name, NULL);
1217 ctxt->node, prefix, nsret, value);
1233 "Namespace prefix %s of attribute %s is not defined\n",
1363 const xmlChar *prefix, const xmlChar **atts) {
1369 elemDecl = xmlGetDtdQElementDesc(ctxt->myDoc->intSubset, name, prefix);
1371 elemDecl = xmlGetDtdQElementDesc(ctxt->myDoc->extSubset, name, prefix);
1390 attr->prefix) == attr) &&
1393 attr->prefix) == NULL)) {
1396 if (attr->prefix != NULL) {
1397 fulln = xmlStrdup(attr->prefix);
1443 * - this is a namespace prefix
1449 if (((attr->prefix != NULL) &&
1450 (xmlStrEqual(attr->prefix, BAD_CAST "xmlns"))) ||
1451 ((attr->prefix == NULL) &&
1458 attr->prefix);
1463 fulln = xmlBuildQName(attr->name, attr->prefix, fn, 50);
1486 attr->defaultValue, prefix);
1497 name, prefix);
1507 * @fullname: The element name, including namespace prefix
1520 xmlChar *prefix;
1548 * Split the full name into a namespace prefix and the tag name
1550 name = xmlSplitQName(ctxt, fullname, &prefix);
1560 if (prefix != NULL)
1561 xmlFree(prefix);
1617 xmlCheckDefaultedAttributes(ctxt, name, prefix, atts);
1631 xmlSAX2AttributeInternal(ctxt, att, value, prefix);
1643 ns = xmlSearchNs(ctxt->myDoc, ret, prefix);
1645 ns = xmlSearchNs(ctxt->myDoc, parent, prefix);
1646 if ((prefix != NULL) && (ns == NULL)) {
1647 ns = xmlNewNs(ret, NULL, prefix);
1650 "Namespace prefix %s is not defined\n", prefix);
1658 ((ns->href[0] != 0) || (ns->prefix != NULL)))
1707 if (prefix != NULL)
1708 xmlFree(prefix);
1873 * @prefix: the attribute namespace prefix if available
1886 const xmlChar * prefix,
1895 * Note: if prefix == NULL, the attribute is not in the default namespace
1897 if (prefix != NULL)
1898 namespace = xmlSearchNs(ctxt->myDoc, ctxt->node, prefix);
2021 fullname = xmlBuildQName(localname, prefix, fn, 50);
2061 if ((prefix == ctxt->str_xml) &&
2098 * @prefix: the element namespace prefix if available
2101 * @namespaces: pointer to the array of prefix/URI pairs namespace definitions
2104 * @attributes: pointer to the array of (localname/prefix/URI/value/end)
2114 const xmlChar *prefix,
2203 if ((URI != NULL) && (prefix == pref))
2213 ret, prefix, ns, uri);
2244 * Note that, if prefix is NULL, this searches for the default Ns
2247 ret->ns = xmlSearchNs(ctxt->myDoc, parent, prefix);
2248 if ((ret->ns == NULL) && (xmlStrEqual(prefix, BAD_CAST "xml"))) {
2249 ret->ns = xmlSearchNs(ctxt->myDoc, ret, prefix);
2252 ns = xmlNewNs(ret, NULL, prefix);
2260 "Namespace prefix %s was not found\n", prefix);
2297 * @prefix: the element namespace prefix if available
2306 const xmlChar * prefix ATTRIBUTE_UNUSED,