Home | History | Annotate | Download | only in libxml2

Lines Matching refs:BAD_CAST

1539             name2 = xmlGetProp(tmp, BAD_CAST "name");
1557 (inc->doc->children->name, BAD_CAST "grammar")) {
1559 href = xmlGetProp(tmp, BAD_CAST "href");
1651 if (xmlHasProp(root, BAD_CAST "ns") == NULL) {
1652 xmlSetProp(root, BAD_CAST "ns", ns);
1719 name = xmlGetProp(cur, BAD_CAST "name");
1981 if (xmlHasProp(root, BAD_CAST "ns") == NULL) {
1982 xmlSetProp(root, BAD_CAST "ns", ns);
2089 arg1 = BAD_CAST "";
2091 arg2 = BAD_CAST "";
2412 BAD_CAST
2443 BAD_CAST
2484 BAD_CAST
2493 if (xmlStrEqual(facetname, BAD_CAST "minInclusive")) {
2495 } else if (xmlStrEqual(facetname, BAD_CAST "minExclusive")) {
2497 } else if (xmlStrEqual(facetname, BAD_CAST "maxInclusive")) {
2499 } else if (xmlStrEqual(facetname, BAD_CAST "maxExclusive")) {
2501 } else if (xmlStrEqual(facetname, BAD_CAST "totalDigits")) {
2503 } else if (xmlStrEqual(facetname, BAD_CAST "fractionDigits")) {
2505 } else if (xmlStrEqual(facetname, BAD_CAST "pattern")) {
2507 } else if (xmlStrEqual(facetname, BAD_CAST "enumeration")) {
2509 } else if (xmlStrEqual(facetname, BAD_CAST "whiteSpace")) {
2511 } else if (xmlStrEqual(facetname, BAD_CAST "length")) {
2513 } else if (xmlStrEqual(facetname, BAD_CAST "maxLength")) {
2515 } else if (xmlStrEqual(facetname, BAD_CAST "minLength")) {
2576 BAD_CAST
2625 if (xmlStrEqual(type, BAD_CAST "string"))
2627 if (xmlStrEqual(type, BAD_CAST "token"))
2653 if (xmlStrEqual(type, BAD_CAST "string"))
2655 if (xmlStrEqual(type, BAD_CAST "token")) {
2685 if (xmlStrEqual(type, BAD_CAST "string")) {
2687 } else if (xmlStrEqual(type, BAD_CAST "token")) {
2811 xmlRelaxNGRegisterTypeLibrary(BAD_CAST
3183 ctxt->state, BAD_CAST "#text",
3444 ret = xmlGetProp(node, BAD_CAST "datatypeLibrary");
3450 escape = xmlURIEscapeStr(ret, BAD_CAST ":/#?");
3460 ret = xmlGetProp(node, BAD_CAST "datatypeLibrary");
3466 escape = xmlURIEscapeStr(ret, BAD_CAST ":/#?");
3501 type = xmlGetProp(node, BAD_CAST "type");
3511 xmlStrdup(BAD_CAST "http://relaxng.org/ns/structure/1.0");
3540 def->value = xmlStrdup(BAD_CAST "");
3590 type = xmlGetProp(node, BAD_CAST "type");
3604 xmlStrdup(BAD_CAST "http://relaxng.org/ns/structure/1.0");
3637 BAD_CAST
3639 && ((xmlStrEqual(def->name, BAD_CAST "IDREF"))
3640 || (xmlStrEqual(def->name, BAD_CAST "IDREFS")))) {
3651 if (!xmlStrEqual(content->name, BAD_CAST "param"))
3654 BAD_CAST "http://relaxng.org/ns/structure/1.0")) {
3660 (xmlStrEqual(content->name, BAD_CAST "param")))
3666 param->name = xmlGetProp(content, BAD_CAST "name");
3688 && (xmlStrEqual(content->name, BAD_CAST "except"))) {
3729 static const xmlChar *invalidName = BAD_CAST "\1";
4108 BAD_CAST "#text", NULL,
4127 BAD_CAST "#any", NULL,
4131 BAD_CAST "#any", (*tmp)->ns,
4368 BAD_CAST "#text", NULL,
4387 BAD_CAST "#any", NULL,
4391 BAD_CAST "#any", (*tmp)->ns,
4464 if (xmlHashAddEntry(ctxt->interleaves, BAD_CAST name, def) < 0) {
4524 if (!xmlStrEqual(root->name, BAD_CAST "grammar")) {
4563 name = xmlGetProp(node, BAD_CAST "name");
4657 ns = xmlGetProp(root, BAD_CAST "ns");
4661 ns = xmlGetProp(tmp, BAD_CAST "ns");
4668 xmlSetProp(root, BAD_CAST "ns", ns);
4692 xmlUnsetProp(root, BAD_CAST "ns");
4807 def->name = xmlGetProp(node, BAD_CAST "name");
4923 def->name = xmlGetProp(node, BAD_CAST "name");
5192 val = xmlGetProp(node, BAD_CAST "ns");
5196 (xmlStrEqual(val, BAD_CAST "http://www.w3.org/2000/xmlns"))) {
5203 (val[0] == 0) && (xmlStrEqual(ret->name, BAD_CAST "xmlns"))) {
5219 ret->ns = xmlGetProp(node, BAD_CAST "ns");
5227 (ret->ns, BAD_CAST "http://www.w3.org/2000/xmlns"))) {
5627 combine = xmlGetProp(cur->node, BAD_CAST "combine");
5629 if (xmlStrEqual(combine, BAD_CAST "choice")) {
5637 } else if (xmlStrEqual(combine, BAD_CAST "interleave")) {
5715 if (xmlHashAddEntry(ctxt->interleaves, BAD_CAST tmpname, cur) <
5749 (!xmlStrEqual(cur->node->parent->name, BAD_CAST "start"))) {
5755 combine = xmlGetProp(cur->node->parent, BAD_CAST "combine");
5759 if (xmlStrEqual(combine, BAD_CAST "choice")) {
5767 } else if (xmlStrEqual(combine, BAD_CAST "interleave")) {
5820 if (xmlHashAddEntry(ctxt->interleaves, BAD_CAST tmpname, cur) <
6792 if (xmlStrEqual(cur->name, BAD_CAST "name")) {
6793 if ((!xmlStrEqual(node->name, BAD_CAST "element")) &&
6794 (!xmlStrEqual(node->name, BAD_CAST "attribute")) &&
6795 (!xmlStrEqual(node->name, BAD_CAST "ref")) &&
6796 (!xmlStrEqual(node->name, BAD_CAST "parentRef")) &&
6797 (!xmlStrEqual(node->name, BAD_CAST "param")) &&
6798 (!xmlStrEqual(node->name, BAD_CAST "define"))) {
6803 } else if (xmlStrEqual(cur->name, BAD_CAST "type")) {
6804 if ((!xmlStrEqual(node->name, BAD_CAST "value")) &&
6805 (!xmlStrEqual(node->name, BAD_CAST "data"))) {
6810 } else if (xmlStrEqual(cur->name, BAD_CAST "href")) {
6811 if ((!xmlStrEqual(node->name, BAD_CAST "externalRef")) &&
6812 (!xmlStrEqual(node->name, BAD_CAST "include"))) {
6817 } else if (xmlStrEqual(cur->name, BAD_CAST "combine")) {
6818 if ((!xmlStrEqual(node->name, BAD_CAST "start")) &&
6819 (!xmlStrEqual(node->name, BAD_CAST "define"))) {
6824 } else if (xmlStrEqual(cur->name, BAD_CAST "datatypeLibrary")) {
6852 } else if (!xmlStrEqual(cur->name, BAD_CAST "ns")) {
6891 ((xmlStrEqual(cur->parent->name, BAD_CAST "name")) ||
6892 (xmlStrEqual(cur->parent->name, BAD_CAST "value")) ||
6893 (xmlStrEqual(cur->parent->name, BAD_CAST "param")))) {
6902 if (xmlStrEqual(cur->name, BAD_CAST "externalRef")) {
6908 ns = xmlGetProp(cur, BAD_CAST "ns");
6913 ns = xmlGetProp(tmp, BAD_CAST "ns");
6919 href = xmlGetProp(cur, BAD_CAST "href");
6988 } else if (xmlStrEqual(cur->name, BAD_CAST "include")) {
6993 href = xmlGetProp(cur, BAD_CAST "href");
7018 ns = xmlGetProp(cur, BAD_CAST "ns");
7023 ns = xmlGetProp(tmp, BAD_CAST "ns");
7042 } else if ((xmlStrEqual(cur->name, BAD_CAST "element")) ||
7043 (xmlStrEqual(cur->name, BAD_CAST "attribute")))
7052 name = xmlGetProp(cur, BAD_CAST "name");
7056 xmlNewChild(cur, cur->ns, BAD_CAST "name",
7062 BAD_CAST "name", NULL);
7075 xmlUnsetProp(cur, BAD_CAST "name");
7077 ns = xmlGetProp(cur, BAD_CAST "ns");
7080 xmlSetProp(text, BAD_CAST "ns", ns);
7081 /* xmlUnsetProp(cur, BAD_CAST "ns"); */
7085 BAD_CAST "attribute")) {
7086 xmlSetProp(text, BAD_CAST "ns", BAD_CAST "");
7089 } else if ((xmlStrEqual(cur->name, BAD_CAST "name")) ||
7090 (xmlStrEqual(cur->name, BAD_CAST "nsName")) ||
7091 (xmlStrEqual(cur->name, BAD_CAST "value"))) {
7096 if (xmlHasProp(cur, BAD_CAST "ns") == NULL) {
7103 ns = xmlGetProp(node, BAD_CAST "ns");
7110 xmlSetProp(cur, BAD_CAST "ns", BAD_CAST "");
7112 xmlSetProp(cur, BAD_CAST "ns", ns);
7116 if (xmlStrEqual(cur->name, BAD_CAST "name")) {
7135 xmlSetProp(cur, BAD_CAST "ns",
7148 if (xmlStrEqual(cur->name, BAD_CAST "nsName")) {
7156 } else if ((xmlStrEqual(cur->name, BAD_CAST "except")) &&
7165 (cur->parent->name, BAD_CAST "anyName"))) {
7172 (cur->parent->name, BAD_CAST "nsName"))) {
7178 } else if (xmlStrEqual(cur->name, BAD_CAST "anyName")) {
7198 if (xmlStrEqual(cur->name, BAD_CAST "div")) {
7206 ns = xmlGetProp(cur, BAD_CAST "ns");
7212 if (!xmlHasProp(child, BAD_CAST "ns")) {
7213 xmlSetProp(child, BAD_CAST "ns", ns);
7249 if ((!xmlStrEqual(cur->parent->name, BAD_CAST "value"))
7252 (cur->parent->name, BAD_CAST "param")))
7371 doc->URL = xmlStrdup(BAD_CAST "in_memory_buffer");
7372 ctxt->URL = xmlStrdup(BAD_CAST "in_memory_buffer");
7399 (ctxt->URL ? ctxt->URL : BAD_CAST "schemas"), NULL);
7868 ret = xmlRegExecPushString(exec, BAD_CAST "#text", ctxt);
7903 VALID_ERR2(XML_RELAXNG_ERR_NOELEM, BAD_CAST "");
8252 ret = xmlRegExecPushString(ctxt->elem, BAD_CAST "#text", ctxt);
8254 VALID_ERR2(XML_RELAXNG_ERR_TEXTWRONG, BAD_CAST " TODO ");
8296 VALID_ERR2(XML_RELAXNG_ERR_NOELEM, BAD_CAST "");
8693 val = xmlStrdup(BAD_CAST "");
9188 tmp = xmlHashLookup2(partitions->triage, BAD_CAST "#text",
9196 BAD_CAST "#any",
9204 xmlHashLookup2(partitions->triage, BAD_CAST "#any",
9397 BAD_CAST "NULL definition list");
10159 xmlHashLookup2(triage, BAD_CAST "#text", NULL);
10166 xmlHashLookup2(triage, BAD_CAST "#any",
10173 xmlHashLookup2(triage, BAD_CAST "#any",
10275 content = xmlStrdup(BAD_CAST "");
10318 content = xmlStrdup(BAD_CAST "");
10369 content = xmlStrdup(BAD_CAST "");