• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-core/libxml2-src/

Lines Matching +defs:def +defs:prefix

696  * @def:  the type of default value
704 int type, int def, const xmlChar *defaultValue,
709 xmlChar *name = NULL, *prefix = NULL;
717 elem, fullname, type, def, defaultValue);
729 /* TODO: optimize name/prefix allocation */
730 name = xmlSplitQName(ctxt, fullname, &prefix);
734 name, prefix, (xmlAttributeType) type,
735 (xmlAttributeDefault) def, defaultValue, tree);
738 name, prefix, (xmlAttributeType) type,
739 (xmlAttributeDefault) def, defaultValue, tree);
755 if (prefix != NULL)
756 xmlFree(prefix);
1055 * @fullname: The attribute name, including namespace prefix
1057 * @prefix: the prefix on the element node
1066 const xmlChar *value, const xmlChar *prefix ATTRIBUTE_UNUSED)
1081 * Split the full name into a namespace prefix and the tag name
1183 ctxt->node, prefix, nsret, val);
1217 "Empty namespace name for prefix %s\n", name, NULL);
1246 ctxt->node, prefix, nsret, value);
1262 "Namespace prefix %s of attribute %s is not defined\n",
1394 const xmlChar *prefix, const xmlChar **atts) {
1400 elemDecl = xmlGetDtdQElementDesc(ctxt->myDoc->intSubset, name, prefix);
1402 elemDecl = xmlGetDtdQElementDesc(ctxt->myDoc->extSubset, name, prefix);
1421 attr->prefix) == attr) &&
1424 attr->prefix) == NULL)) {
1427 if (attr->prefix != NULL) {
1428 fulln = xmlStrdup(attr->prefix);
1479 * - this is a namespace prefix
1485 if (((attr->prefix != NULL) &&
1486 (xmlStrEqual(attr->prefix, BAD_CAST "xmlns"))) ||
1487 ((attr->prefix == NULL) &&
1494 attr->prefix);
1499 fulln = xmlBuildQName(attr->name, attr->prefix, fn, 50);
1522 attr->defaultValue, prefix);
1533 name, prefix);
1543 * @fullname: The element name, including namespace prefix
1556 xmlChar *prefix;
1584 * Split the full name into a namespace prefix and the tag name
1586 name = xmlSplitQName(ctxt, fullname, &prefix);
1596 if (prefix != NULL)
1597 xmlFree(prefix);
1653 xmlCheckDefaultedAttributes(ctxt, name, prefix, atts);
1667 xmlSAX2AttributeInternal(ctxt, att, value, prefix);
1679 ns = xmlSearchNs(ctxt->myDoc, ret, prefix);
1681 ns = xmlSearchNs(ctxt->myDoc, parent, prefix);
1682 if ((prefix != NULL) && (ns == NULL)) {
1683 ns = xmlNewNs(ret, NULL, prefix);
1685 "Namespace prefix %s is not defined\n",
1686 prefix, NULL);
1694 ((ns->href[0] != 0) || (ns->prefix != NULL)))
1743 if (prefix != NULL)
1744 xmlFree(prefix);
1912 * @prefix: the attribute namespace prefix if available
1925 const xmlChar * prefix,
1934 * Note: if prefix == NULL, the attribute is not in the default namespace
1936 if (prefix != NULL)
1937 namespace = xmlSearchNs(ctxt->myDoc, ctxt->node, prefix);
2060 fullname = xmlBuildQName(localname, prefix, fn, 50);
2100 if ((prefix == ctxt->str_xml) &&
2137 * @prefix: the element namespace prefix if available
2140 * @namespaces: pointer to the array of prefix/URI pairs namespace definitions
2143 * @attributes: pointer to the array of (localname/prefix/URI/value/end)
2153 const xmlChar *prefix,
2242 if ((URI != NULL) && (prefix == pref))
2252 ret, prefix, ns, uri);
2283 * Note that, if prefix is NULL, this searches for the default Ns
2286 ret->ns = xmlSearchNs(ctxt->myDoc, parent, prefix);
2287 if ((ret->ns == NULL) && (xmlStrEqual(prefix, BAD_CAST "xml"))) {
2288 ret->ns = xmlSearchNs(ctxt->myDoc, ret, prefix);
2291 ns = xmlNewNs(ret, NULL, prefix);
2297 if (prefix != NULL)
2299 "Namespace prefix %s was not found\n",
2300 prefix, NULL);
2303 "Namespace default prefix was not found\n",
2341 * @prefix: the element namespace prefix if available
2350 const xmlChar * prefix ATTRIBUTE_UNUSED,