Lines Matching refs:BAD_CAST
1541 name2 = xmlGetProp(tmp, BAD_CAST "name"); in xmlRelaxNGRemoveRedefine()
1559 (inc->doc->children->name, BAD_CAST "grammar")) { in xmlRelaxNGRemoveRedefine()
1561 href = xmlGetProp(tmp, BAD_CAST "href"); in xmlRelaxNGRemoveRedefine()
1653 if (xmlHasProp(root, BAD_CAST "ns") == NULL) { in xmlRelaxNGLoadInclude()
1654 xmlSetProp(root, BAD_CAST "ns", ns); in xmlRelaxNGLoadInclude()
1721 name = xmlGetProp(cur, BAD_CAST "name"); in xmlRelaxNGLoadInclude()
1984 if (xmlHasProp(root, BAD_CAST "ns") == NULL) { in xmlRelaxNGLoadExternalRef()
1985 xmlSetProp(root, BAD_CAST "ns", ns); in xmlRelaxNGLoadExternalRef()
2092 arg1 = BAD_CAST ""; in xmlRelaxNGGetErrorString()
2094 arg2 = BAD_CAST ""; in xmlRelaxNGGetErrorString()
2418 BAD_CAST in xmlRelaxNGSchemaTypeHave()
2449 BAD_CAST in xmlRelaxNGSchemaTypeCheck()
2490 BAD_CAST in xmlRelaxNGSchemaFacetCheck()
2499 if (xmlStrEqual(facetname, BAD_CAST "minInclusive")) { in xmlRelaxNGSchemaFacetCheck()
2501 } else if (xmlStrEqual(facetname, BAD_CAST "minExclusive")) { in xmlRelaxNGSchemaFacetCheck()
2503 } else if (xmlStrEqual(facetname, BAD_CAST "maxInclusive")) { in xmlRelaxNGSchemaFacetCheck()
2505 } else if (xmlStrEqual(facetname, BAD_CAST "maxExclusive")) { in xmlRelaxNGSchemaFacetCheck()
2507 } else if (xmlStrEqual(facetname, BAD_CAST "totalDigits")) { in xmlRelaxNGSchemaFacetCheck()
2509 } else if (xmlStrEqual(facetname, BAD_CAST "fractionDigits")) { in xmlRelaxNGSchemaFacetCheck()
2511 } else if (xmlStrEqual(facetname, BAD_CAST "pattern")) { in xmlRelaxNGSchemaFacetCheck()
2513 } else if (xmlStrEqual(facetname, BAD_CAST "enumeration")) { in xmlRelaxNGSchemaFacetCheck()
2515 } else if (xmlStrEqual(facetname, BAD_CAST "whiteSpace")) { in xmlRelaxNGSchemaFacetCheck()
2517 } else if (xmlStrEqual(facetname, BAD_CAST "length")) { in xmlRelaxNGSchemaFacetCheck()
2519 } else if (xmlStrEqual(facetname, BAD_CAST "maxLength")) { in xmlRelaxNGSchemaFacetCheck()
2521 } else if (xmlStrEqual(facetname, BAD_CAST "minLength")) { in xmlRelaxNGSchemaFacetCheck()
2582 BAD_CAST in xmlRelaxNGSchemaTypeCompare()
2631 if (xmlStrEqual(type, BAD_CAST "string")) in xmlRelaxNGDefaultTypeHave()
2633 if (xmlStrEqual(type, BAD_CAST "token")) in xmlRelaxNGDefaultTypeHave()
2659 if (xmlStrEqual(type, BAD_CAST "string")) in xmlRelaxNGDefaultTypeCheck()
2661 if (xmlStrEqual(type, BAD_CAST "token")) { in xmlRelaxNGDefaultTypeCheck()
2691 if (xmlStrEqual(type, BAD_CAST "string")) { in xmlRelaxNGDefaultTypeCompare()
2693 } else if (xmlStrEqual(type, BAD_CAST "token")) { in xmlRelaxNGDefaultTypeCompare()
2817 xmlRelaxNGRegisterTypeLibrary(BAD_CAST in xmlRelaxNGInitTypes()
3214 ctxt->state, BAD_CAST "#text", in xmlRelaxNGCompile()
3478 ret = xmlGetProp(node, BAD_CAST "datatypeLibrary"); in xmlRelaxNGGetDataTypeLibrary()
3484 escape = xmlURIEscapeStr(ret, BAD_CAST ":/#?"); in xmlRelaxNGGetDataTypeLibrary()
3494 ret = xmlGetProp(node, BAD_CAST "datatypeLibrary"); in xmlRelaxNGGetDataTypeLibrary()
3500 escape = xmlURIEscapeStr(ret, BAD_CAST ":/#?"); in xmlRelaxNGGetDataTypeLibrary()
3535 type = xmlGetProp(node, BAD_CAST "type"); in xmlRelaxNGParseValue()
3545 xmlStrdup(BAD_CAST "http://relaxng.org/ns/structure/1.0"); in xmlRelaxNGParseValue()
3574 def->value = xmlStrdup(BAD_CAST ""); in xmlRelaxNGParseValue()
3624 type = xmlGetProp(node, BAD_CAST "type"); in xmlRelaxNGParseData()
3638 xmlStrdup(BAD_CAST "http://relaxng.org/ns/structure/1.0"); in xmlRelaxNGParseData()
3671 BAD_CAST in xmlRelaxNGParseData()
3673 && ((xmlStrEqual(def->name, BAD_CAST "IDREF")) in xmlRelaxNGParseData()
3674 || (xmlStrEqual(def->name, BAD_CAST "IDREFS")))) { in xmlRelaxNGParseData()
3685 if (!xmlStrEqual(content->name, BAD_CAST "param")) in xmlRelaxNGParseData()
3688 BAD_CAST "http://relaxng.org/ns/structure/1.0")) { in xmlRelaxNGParseData()
3694 (xmlStrEqual(content->name, BAD_CAST "param"))) in xmlRelaxNGParseData()
3700 param->name = xmlGetProp(content, BAD_CAST "name"); in xmlRelaxNGParseData()
3722 && (xmlStrEqual(content->name, BAD_CAST "except"))) { in xmlRelaxNGParseData()
3763 static const xmlChar *invalidName = BAD_CAST "\1";
4142 BAD_CAST "#text", NULL, in xmlRelaxNGCheckChoiceDeterminism()
4161 BAD_CAST "#any", NULL, in xmlRelaxNGCheckChoiceDeterminism()
4165 BAD_CAST "#any", (*tmp)->ns, in xmlRelaxNGCheckChoiceDeterminism()
4402 BAD_CAST "#text", NULL, in xmlRelaxNGComputeInterleaves()
4421 BAD_CAST "#any", NULL, in xmlRelaxNGComputeInterleaves()
4425 BAD_CAST "#any", (*tmp)->ns, in xmlRelaxNGComputeInterleaves()
4498 if (xmlHashAddEntry(ctxt->interleaves, BAD_CAST name, def) < 0) { in xmlRelaxNGParseInterleave()
4558 if (!xmlStrEqual(root->name, BAD_CAST "grammar")) { in xmlRelaxNGParseInclude()
4597 name = xmlGetProp(node, BAD_CAST "name"); in xmlRelaxNGParseDefine()
4757 ns = xmlGetProp(root, BAD_CAST "ns"); in xmlRelaxNGProcessExternalRef()
4761 ns = xmlGetProp(tmp, BAD_CAST "ns"); in xmlRelaxNGProcessExternalRef()
4768 xmlSetProp(root, BAD_CAST "ns", ns); in xmlRelaxNGProcessExternalRef()
4794 xmlUnsetProp(root, BAD_CAST "ns"); in xmlRelaxNGProcessExternalRef()
4909 def->name = xmlGetProp(node, BAD_CAST "name"); in xmlRelaxNGParsePattern()
5025 def->name = xmlGetProp(node, BAD_CAST "name"); in xmlRelaxNGParsePattern()
5294 val = xmlGetProp(node, BAD_CAST "ns"); in xmlRelaxNGParseNameClass()
5298 (xmlStrEqual(val, BAD_CAST "http://www.w3.org/2000/xmlns"))) { in xmlRelaxNGParseNameClass()
5305 (val[0] == 0) && (xmlStrEqual(ret->name, BAD_CAST "xmlns"))) { in xmlRelaxNGParseNameClass()
5321 ret->ns = xmlGetProp(node, BAD_CAST "ns"); in xmlRelaxNGParseNameClass()
5329 (ret->ns, BAD_CAST "http://www.w3.org/2000/xmlns"))) { in xmlRelaxNGParseNameClass()
5736 combine = xmlGetProp(cur->node, BAD_CAST "combine"); in xmlRelaxNGCheckCombine()
5738 if (xmlStrEqual(combine, BAD_CAST "choice")) { in xmlRelaxNGCheckCombine()
5746 } else if (xmlStrEqual(combine, BAD_CAST "interleave")) { in xmlRelaxNGCheckCombine()
5824 if (xmlHashAddEntry(ctxt->interleaves, BAD_CAST tmpname, cur) < in xmlRelaxNGCheckCombine()
5858 (!xmlStrEqual(cur->node->parent->name, BAD_CAST "start"))) { in xmlRelaxNGCombineStart()
5864 combine = xmlGetProp(cur->node->parent, BAD_CAST "combine"); in xmlRelaxNGCombineStart()
5868 if (xmlStrEqual(combine, BAD_CAST "choice")) { in xmlRelaxNGCombineStart()
5876 } else if (xmlStrEqual(combine, BAD_CAST "interleave")) { in xmlRelaxNGCombineStart()
5929 if (xmlHashAddEntry(ctxt->interleaves, BAD_CAST tmpname, cur) < in xmlRelaxNGCombineStart()
6277 (cur->name ? cur->name: BAD_CAST "null"), NULL); in xmlRelaxNGCheckRules()
6916 if (xmlStrEqual(cur->name, BAD_CAST "name")) { in xmlRelaxNGCleanupAttributes()
6917 if ((!xmlStrEqual(node->name, BAD_CAST "element")) && in xmlRelaxNGCleanupAttributes()
6918 (!xmlStrEqual(node->name, BAD_CAST "attribute")) && in xmlRelaxNGCleanupAttributes()
6919 (!xmlStrEqual(node->name, BAD_CAST "ref")) && in xmlRelaxNGCleanupAttributes()
6920 (!xmlStrEqual(node->name, BAD_CAST "parentRef")) && in xmlRelaxNGCleanupAttributes()
6921 (!xmlStrEqual(node->name, BAD_CAST "param")) && in xmlRelaxNGCleanupAttributes()
6922 (!xmlStrEqual(node->name, BAD_CAST "define"))) { in xmlRelaxNGCleanupAttributes()
6927 } else if (xmlStrEqual(cur->name, BAD_CAST "type")) { in xmlRelaxNGCleanupAttributes()
6928 if ((!xmlStrEqual(node->name, BAD_CAST "value")) && in xmlRelaxNGCleanupAttributes()
6929 (!xmlStrEqual(node->name, BAD_CAST "data"))) { in xmlRelaxNGCleanupAttributes()
6934 } else if (xmlStrEqual(cur->name, BAD_CAST "href")) { in xmlRelaxNGCleanupAttributes()
6935 if ((!xmlStrEqual(node->name, BAD_CAST "externalRef")) && in xmlRelaxNGCleanupAttributes()
6936 (!xmlStrEqual(node->name, BAD_CAST "include"))) { in xmlRelaxNGCleanupAttributes()
6941 } else if (xmlStrEqual(cur->name, BAD_CAST "combine")) { in xmlRelaxNGCleanupAttributes()
6942 if ((!xmlStrEqual(node->name, BAD_CAST "start")) && in xmlRelaxNGCleanupAttributes()
6943 (!xmlStrEqual(node->name, BAD_CAST "define"))) { in xmlRelaxNGCleanupAttributes()
6948 } else if (xmlStrEqual(cur->name, BAD_CAST "datatypeLibrary")) { in xmlRelaxNGCleanupAttributes()
6976 } else if (!xmlStrEqual(cur->name, BAD_CAST "ns")) { in xmlRelaxNGCleanupAttributes()
7015 ((xmlStrEqual(cur->parent->name, BAD_CAST "name")) || in xmlRelaxNGCleanupTree()
7016 (xmlStrEqual(cur->parent->name, BAD_CAST "value")) || in xmlRelaxNGCleanupTree()
7017 (xmlStrEqual(cur->parent->name, BAD_CAST "param")))) { in xmlRelaxNGCleanupTree()
7026 if (xmlStrEqual(cur->name, BAD_CAST "externalRef")) { in xmlRelaxNGCleanupTree()
7032 ns = xmlGetProp(cur, BAD_CAST "ns"); in xmlRelaxNGCleanupTree()
7037 ns = xmlGetProp(tmp, BAD_CAST "ns"); in xmlRelaxNGCleanupTree()
7043 href = xmlGetProp(cur, BAD_CAST "href"); in xmlRelaxNGCleanupTree()
7112 } else if (xmlStrEqual(cur->name, BAD_CAST "include")) { in xmlRelaxNGCleanupTree()
7117 href = xmlGetProp(cur, BAD_CAST "href"); in xmlRelaxNGCleanupTree()
7142 ns = xmlGetProp(cur, BAD_CAST "ns"); in xmlRelaxNGCleanupTree()
7147 ns = xmlGetProp(tmp, BAD_CAST "ns"); in xmlRelaxNGCleanupTree()
7166 } else if ((xmlStrEqual(cur->name, BAD_CAST "element")) || in xmlRelaxNGCleanupTree()
7167 (xmlStrEqual(cur->name, BAD_CAST "attribute"))) in xmlRelaxNGCleanupTree()
7176 name = xmlGetProp(cur, BAD_CAST "name"); in xmlRelaxNGCleanupTree()
7180 xmlNewChild(cur, cur->ns, BAD_CAST "name", in xmlRelaxNGCleanupTree()
7186 BAD_CAST "name", NULL); in xmlRelaxNGCleanupTree()
7199 xmlUnsetProp(cur, BAD_CAST "name"); in xmlRelaxNGCleanupTree()
7201 ns = xmlGetProp(cur, BAD_CAST "ns"); in xmlRelaxNGCleanupTree()
7204 xmlSetProp(text, BAD_CAST "ns", ns); in xmlRelaxNGCleanupTree()
7209 BAD_CAST "attribute")) { in xmlRelaxNGCleanupTree()
7210 xmlSetProp(text, BAD_CAST "ns", BAD_CAST ""); in xmlRelaxNGCleanupTree()
7213 } else if ((xmlStrEqual(cur->name, BAD_CAST "name")) || in xmlRelaxNGCleanupTree()
7214 (xmlStrEqual(cur->name, BAD_CAST "nsName")) || in xmlRelaxNGCleanupTree()
7215 (xmlStrEqual(cur->name, BAD_CAST "value"))) { in xmlRelaxNGCleanupTree()
7220 if (xmlHasProp(cur, BAD_CAST "ns") == NULL) { in xmlRelaxNGCleanupTree()
7227 ns = xmlGetProp(node, BAD_CAST "ns"); in xmlRelaxNGCleanupTree()
7234 xmlSetProp(cur, BAD_CAST "ns", BAD_CAST ""); in xmlRelaxNGCleanupTree()
7236 xmlSetProp(cur, BAD_CAST "ns", ns); in xmlRelaxNGCleanupTree()
7240 if (xmlStrEqual(cur->name, BAD_CAST "name")) { in xmlRelaxNGCleanupTree()
7259 xmlSetProp(cur, BAD_CAST "ns", in xmlRelaxNGCleanupTree()
7272 if (xmlStrEqual(cur->name, BAD_CAST "nsName")) { in xmlRelaxNGCleanupTree()
7280 } else if ((xmlStrEqual(cur->name, BAD_CAST "except")) && in xmlRelaxNGCleanupTree()
7289 (cur->parent->name, BAD_CAST "anyName"))) { in xmlRelaxNGCleanupTree()
7296 (cur->parent->name, BAD_CAST "nsName"))) { in xmlRelaxNGCleanupTree()
7302 } else if (xmlStrEqual(cur->name, BAD_CAST "anyName")) { in xmlRelaxNGCleanupTree()
7322 if (xmlStrEqual(cur->name, BAD_CAST "div")) { in xmlRelaxNGCleanupTree()
7330 ns = xmlGetProp(cur, BAD_CAST "ns"); in xmlRelaxNGCleanupTree()
7336 if (!xmlHasProp(child, BAD_CAST "ns")) { in xmlRelaxNGCleanupTree()
7337 xmlSetProp(child, BAD_CAST "ns", ns); in xmlRelaxNGCleanupTree()
7373 if ((!xmlStrEqual(cur->parent->name, BAD_CAST "value")) in xmlRelaxNGCleanupTree()
7376 (cur->parent->name, BAD_CAST "param"))) in xmlRelaxNGCleanupTree()
7495 doc->URL = xmlStrdup(BAD_CAST "in_memory_buffer"); in xmlRelaxNGParse()
7496 ctxt->URL = xmlStrdup(BAD_CAST "in_memory_buffer"); in xmlRelaxNGParse()
7523 (ctxt->URL ? ctxt->URL : BAD_CAST "schemas"), NULL); in xmlRelaxNGParse()
7992 ret = xmlRegExecPushString(exec, BAD_CAST "#text", ctxt); in xmlRelaxNGValidateCompiledContent()
8027 VALID_ERR2(XML_RELAXNG_ERR_NOELEM, BAD_CAST ""); in xmlRelaxNGValidateCompiledContent()
8376 ret = xmlRegExecPushString(ctxt->elem, BAD_CAST "#text", ctxt); in xmlRelaxNGValidatePushCData()
8378 VALID_ERR2(XML_RELAXNG_ERR_TEXTWRONG, BAD_CAST " TODO "); in xmlRelaxNGValidatePushCData()
8420 VALID_ERR2(XML_RELAXNG_ERR_NOELEM, BAD_CAST ""); in xmlRelaxNGValidatePopElement()
8817 val = xmlStrdup(BAD_CAST ""); in xmlRelaxNGValidateValue()
9344 tmp = xmlHashLookup2(partitions->triage, BAD_CAST "#text", in xmlRelaxNGValidateInterleave()
9352 BAD_CAST "#any", in xmlRelaxNGValidateInterleave()
9360 xmlHashLookup2(partitions->triage, BAD_CAST "#any", in xmlRelaxNGValidateInterleave()
9559 BAD_CAST "NULL definition list"); in xmlRelaxNGValidateDefinitionList()
10312 xmlHashLookup2(triage, BAD_CAST "#text", NULL); in xmlRelaxNGValidateState()
10319 xmlHashLookup2(triage, BAD_CAST "#any", in xmlRelaxNGValidateState()
10326 xmlHashLookup2(triage, BAD_CAST "#any", in xmlRelaxNGValidateState()
10428 content = xmlStrdup(BAD_CAST ""); in xmlRelaxNGValidateState()
10471 content = xmlStrdup(BAD_CAST ""); in xmlRelaxNGValidateState()
10522 content = xmlStrdup(BAD_CAST ""); in xmlRelaxNGValidateState()