• Home
  • Raw
  • Download

Lines Matching refs:BAD_CAST

1543             name2 = xmlGetProp(tmp, BAD_CAST "name");  in xmlRelaxNGRemoveRedefine()
1561 (inc->doc->children->name, BAD_CAST "grammar")) { in xmlRelaxNGRemoveRedefine()
1563 href = xmlGetProp(tmp, BAD_CAST "href"); in xmlRelaxNGRemoveRedefine()
1655 if (xmlHasProp(root, BAD_CAST "ns") == NULL) { in xmlRelaxNGLoadInclude()
1656 xmlSetProp(root, BAD_CAST "ns", ns); in xmlRelaxNGLoadInclude()
1723 name = xmlGetProp(cur, BAD_CAST "name"); in xmlRelaxNGLoadInclude()
1986 if (xmlHasProp(root, BAD_CAST "ns") == NULL) { in xmlRelaxNGLoadExternalRef()
1987 xmlSetProp(root, BAD_CAST "ns", ns); in xmlRelaxNGLoadExternalRef()
2095 arg1 = BAD_CAST ""; in xmlRelaxNGGetErrorString()
2097 arg2 = BAD_CAST ""; in xmlRelaxNGGetErrorString()
2422 BAD_CAST in xmlRelaxNGSchemaTypeHave()
2453 BAD_CAST in xmlRelaxNGSchemaTypeCheck()
2494 BAD_CAST in xmlRelaxNGSchemaFacetCheck()
2503 if (xmlStrEqual(facetname, BAD_CAST "minInclusive")) { in xmlRelaxNGSchemaFacetCheck()
2505 } else if (xmlStrEqual(facetname, BAD_CAST "minExclusive")) { in xmlRelaxNGSchemaFacetCheck()
2507 } else if (xmlStrEqual(facetname, BAD_CAST "maxInclusive")) { in xmlRelaxNGSchemaFacetCheck()
2509 } else if (xmlStrEqual(facetname, BAD_CAST "maxExclusive")) { in xmlRelaxNGSchemaFacetCheck()
2511 } else if (xmlStrEqual(facetname, BAD_CAST "totalDigits")) { in xmlRelaxNGSchemaFacetCheck()
2513 } else if (xmlStrEqual(facetname, BAD_CAST "fractionDigits")) { in xmlRelaxNGSchemaFacetCheck()
2515 } else if (xmlStrEqual(facetname, BAD_CAST "pattern")) { in xmlRelaxNGSchemaFacetCheck()
2517 } else if (xmlStrEqual(facetname, BAD_CAST "enumeration")) { in xmlRelaxNGSchemaFacetCheck()
2519 } else if (xmlStrEqual(facetname, BAD_CAST "whiteSpace")) { in xmlRelaxNGSchemaFacetCheck()
2521 } else if (xmlStrEqual(facetname, BAD_CAST "length")) { in xmlRelaxNGSchemaFacetCheck()
2523 } else if (xmlStrEqual(facetname, BAD_CAST "maxLength")) { in xmlRelaxNGSchemaFacetCheck()
2525 } else if (xmlStrEqual(facetname, BAD_CAST "minLength")) { in xmlRelaxNGSchemaFacetCheck()
2586 BAD_CAST in xmlRelaxNGSchemaTypeCompare()
2632 if (xmlStrEqual(type, BAD_CAST "string")) in xmlRelaxNGDefaultTypeHave()
2634 if (xmlStrEqual(type, BAD_CAST "token")) in xmlRelaxNGDefaultTypeHave()
2660 if (xmlStrEqual(type, BAD_CAST "string")) in xmlRelaxNGDefaultTypeCheck()
2662 if (xmlStrEqual(type, BAD_CAST "token")) { in xmlRelaxNGDefaultTypeCheck()
2692 if (xmlStrEqual(type, BAD_CAST "string")) { in xmlRelaxNGDefaultTypeCompare()
2694 } else if (xmlStrEqual(type, BAD_CAST "token")) { in xmlRelaxNGDefaultTypeCompare()
2819 xmlRelaxNGRegisterTypeLibrary(BAD_CAST in xmlRelaxNGInitTypes()
3215 ctxt->state, BAD_CAST "#text", in xmlRelaxNGCompile()
3479 ret = xmlGetProp(node, BAD_CAST "datatypeLibrary"); in xmlRelaxNGGetDataTypeLibrary()
3485 escape = xmlURIEscapeStr(ret, BAD_CAST ":/#?"); in xmlRelaxNGGetDataTypeLibrary()
3495 ret = xmlGetProp(node, BAD_CAST "datatypeLibrary"); in xmlRelaxNGGetDataTypeLibrary()
3501 escape = xmlURIEscapeStr(ret, BAD_CAST ":/#?"); in xmlRelaxNGGetDataTypeLibrary()
3536 type = xmlGetProp(node, BAD_CAST "type"); in xmlRelaxNGParseValue()
3546 xmlStrdup(BAD_CAST "http://relaxng.org/ns/structure/1.0"); in xmlRelaxNGParseValue()
3575 def->value = xmlStrdup(BAD_CAST ""); in xmlRelaxNGParseValue()
3625 type = xmlGetProp(node, BAD_CAST "type"); in xmlRelaxNGParseData()
3639 xmlStrdup(BAD_CAST "http://relaxng.org/ns/structure/1.0"); in xmlRelaxNGParseData()
3672 BAD_CAST in xmlRelaxNGParseData()
3674 && ((xmlStrEqual(def->name, BAD_CAST "IDREF")) in xmlRelaxNGParseData()
3675 || (xmlStrEqual(def->name, BAD_CAST "IDREFS")))) { in xmlRelaxNGParseData()
3686 if (!xmlStrEqual(content->name, BAD_CAST "param")) in xmlRelaxNGParseData()
3689 BAD_CAST "http://relaxng.org/ns/structure/1.0")) { in xmlRelaxNGParseData()
3695 (xmlStrEqual(content->name, BAD_CAST "param"))) in xmlRelaxNGParseData()
3701 param->name = xmlGetProp(content, BAD_CAST "name"); in xmlRelaxNGParseData()
3723 && (xmlStrEqual(content->name, BAD_CAST "except"))) { in xmlRelaxNGParseData()
3764 static const xmlChar *invalidName = BAD_CAST "\1";
4147 BAD_CAST "#text", NULL, in xmlRelaxNGCheckChoiceDeterminism()
4166 BAD_CAST "#any", NULL, in xmlRelaxNGCheckChoiceDeterminism()
4170 BAD_CAST "#any", (*tmp)->ns, in xmlRelaxNGCheckChoiceDeterminism()
4408 BAD_CAST "#text", NULL, in xmlRelaxNGComputeInterleaves()
4427 BAD_CAST "#any", NULL, in xmlRelaxNGComputeInterleaves()
4431 BAD_CAST "#any", (*tmp)->ns, in xmlRelaxNGComputeInterleaves()
4504 if (xmlHashAddEntry(ctxt->interleaves, BAD_CAST name, def) < 0) { in xmlRelaxNGParseInterleave()
4564 if (!xmlStrEqual(root->name, BAD_CAST "grammar")) { in xmlRelaxNGParseInclude()
4603 name = xmlGetProp(node, BAD_CAST "name"); in xmlRelaxNGParseDefine()
4763 ns = xmlGetProp(root, BAD_CAST "ns"); in xmlRelaxNGProcessExternalRef()
4767 ns = xmlGetProp(tmp, BAD_CAST "ns"); in xmlRelaxNGProcessExternalRef()
4774 xmlSetProp(root, BAD_CAST "ns", ns); in xmlRelaxNGProcessExternalRef()
4800 xmlUnsetProp(root, BAD_CAST "ns"); in xmlRelaxNGProcessExternalRef()
4915 def->name = xmlGetProp(node, BAD_CAST "name"); in xmlRelaxNGParsePattern()
5031 def->name = xmlGetProp(node, BAD_CAST "name"); in xmlRelaxNGParsePattern()
5300 val = xmlGetProp(node, BAD_CAST "ns"); in xmlRelaxNGParseNameClass()
5304 (xmlStrEqual(val, BAD_CAST "http://www.w3.org/2000/xmlns"))) { in xmlRelaxNGParseNameClass()
5311 (val[0] == 0) && (xmlStrEqual(ret->name, BAD_CAST "xmlns"))) { in xmlRelaxNGParseNameClass()
5327 ret->ns = xmlGetProp(node, BAD_CAST "ns"); in xmlRelaxNGParseNameClass()
5335 (ret->ns, BAD_CAST "http://www.w3.org/2000/xmlns"))) { in xmlRelaxNGParseNameClass()
5743 combine = xmlGetProp(cur->node, BAD_CAST "combine"); in xmlRelaxNGCheckCombine()
5745 if (xmlStrEqual(combine, BAD_CAST "choice")) { in xmlRelaxNGCheckCombine()
5753 } else if (xmlStrEqual(combine, BAD_CAST "interleave")) { in xmlRelaxNGCheckCombine()
5831 if (xmlHashAddEntry(ctxt->interleaves, BAD_CAST tmpname, cur) < in xmlRelaxNGCheckCombine()
5865 (!xmlStrEqual(cur->node->parent->name, BAD_CAST "start"))) { in xmlRelaxNGCombineStart()
5871 combine = xmlGetProp(cur->node->parent, BAD_CAST "combine"); in xmlRelaxNGCombineStart()
5875 if (xmlStrEqual(combine, BAD_CAST "choice")) { in xmlRelaxNGCombineStart()
5883 } else if (xmlStrEqual(combine, BAD_CAST "interleave")) { in xmlRelaxNGCombineStart()
5936 if (xmlHashAddEntry(ctxt->interleaves, BAD_CAST tmpname, cur) < in xmlRelaxNGCombineStart()
6284 (cur->name ? cur->name: BAD_CAST "null"), NULL); in xmlRelaxNGCheckRules()
6926 if (xmlStrEqual(cur->name, BAD_CAST "name")) { in xmlRelaxNGCleanupAttributes()
6927 if ((!xmlStrEqual(node->name, BAD_CAST "element")) && in xmlRelaxNGCleanupAttributes()
6928 (!xmlStrEqual(node->name, BAD_CAST "attribute")) && in xmlRelaxNGCleanupAttributes()
6929 (!xmlStrEqual(node->name, BAD_CAST "ref")) && in xmlRelaxNGCleanupAttributes()
6930 (!xmlStrEqual(node->name, BAD_CAST "parentRef")) && in xmlRelaxNGCleanupAttributes()
6931 (!xmlStrEqual(node->name, BAD_CAST "param")) && in xmlRelaxNGCleanupAttributes()
6932 (!xmlStrEqual(node->name, BAD_CAST "define"))) { in xmlRelaxNGCleanupAttributes()
6937 } else if (xmlStrEqual(cur->name, BAD_CAST "type")) { in xmlRelaxNGCleanupAttributes()
6938 if ((!xmlStrEqual(node->name, BAD_CAST "value")) && in xmlRelaxNGCleanupAttributes()
6939 (!xmlStrEqual(node->name, BAD_CAST "data"))) { in xmlRelaxNGCleanupAttributes()
6944 } else if (xmlStrEqual(cur->name, BAD_CAST "href")) { in xmlRelaxNGCleanupAttributes()
6945 if ((!xmlStrEqual(node->name, BAD_CAST "externalRef")) && in xmlRelaxNGCleanupAttributes()
6946 (!xmlStrEqual(node->name, BAD_CAST "include"))) { in xmlRelaxNGCleanupAttributes()
6951 } else if (xmlStrEqual(cur->name, BAD_CAST "combine")) { in xmlRelaxNGCleanupAttributes()
6952 if ((!xmlStrEqual(node->name, BAD_CAST "start")) && in xmlRelaxNGCleanupAttributes()
6953 (!xmlStrEqual(node->name, BAD_CAST "define"))) { in xmlRelaxNGCleanupAttributes()
6958 } else if (xmlStrEqual(cur->name, BAD_CAST "datatypeLibrary")) { in xmlRelaxNGCleanupAttributes()
6986 } else if (!xmlStrEqual(cur->name, BAD_CAST "ns")) { in xmlRelaxNGCleanupAttributes()
7025 ((xmlStrEqual(cur->parent->name, BAD_CAST "name")) || in xmlRelaxNGCleanupTree()
7026 (xmlStrEqual(cur->parent->name, BAD_CAST "value")) || in xmlRelaxNGCleanupTree()
7027 (xmlStrEqual(cur->parent->name, BAD_CAST "param")))) { in xmlRelaxNGCleanupTree()
7036 if (xmlStrEqual(cur->name, BAD_CAST "externalRef")) { in xmlRelaxNGCleanupTree()
7042 ns = xmlGetProp(cur, BAD_CAST "ns"); in xmlRelaxNGCleanupTree()
7047 ns = xmlGetProp(tmp, BAD_CAST "ns"); in xmlRelaxNGCleanupTree()
7053 href = xmlGetProp(cur, BAD_CAST "href"); in xmlRelaxNGCleanupTree()
7122 } else if (xmlStrEqual(cur->name, BAD_CAST "include")) { in xmlRelaxNGCleanupTree()
7127 href = xmlGetProp(cur, BAD_CAST "href"); in xmlRelaxNGCleanupTree()
7152 ns = xmlGetProp(cur, BAD_CAST "ns"); in xmlRelaxNGCleanupTree()
7157 ns = xmlGetProp(tmp, BAD_CAST "ns"); in xmlRelaxNGCleanupTree()
7176 } else if ((xmlStrEqual(cur->name, BAD_CAST "element")) || in xmlRelaxNGCleanupTree()
7177 (xmlStrEqual(cur->name, BAD_CAST "attribute"))) in xmlRelaxNGCleanupTree()
7186 name = xmlGetProp(cur, BAD_CAST "name"); in xmlRelaxNGCleanupTree()
7190 xmlNewChild(cur, cur->ns, BAD_CAST "name", in xmlRelaxNGCleanupTree()
7196 BAD_CAST "name", NULL); in xmlRelaxNGCleanupTree()
7209 xmlUnsetProp(cur, BAD_CAST "name"); in xmlRelaxNGCleanupTree()
7211 ns = xmlGetProp(cur, BAD_CAST "ns"); in xmlRelaxNGCleanupTree()
7214 xmlSetProp(text, BAD_CAST "ns", ns); in xmlRelaxNGCleanupTree()
7219 BAD_CAST "attribute")) { in xmlRelaxNGCleanupTree()
7220 xmlSetProp(text, BAD_CAST "ns", BAD_CAST ""); in xmlRelaxNGCleanupTree()
7223 } else if ((xmlStrEqual(cur->name, BAD_CAST "name")) || in xmlRelaxNGCleanupTree()
7224 (xmlStrEqual(cur->name, BAD_CAST "nsName")) || in xmlRelaxNGCleanupTree()
7225 (xmlStrEqual(cur->name, BAD_CAST "value"))) { in xmlRelaxNGCleanupTree()
7230 if (xmlHasProp(cur, BAD_CAST "ns") == NULL) { in xmlRelaxNGCleanupTree()
7237 ns = xmlGetProp(node, BAD_CAST "ns"); in xmlRelaxNGCleanupTree()
7244 xmlSetProp(cur, BAD_CAST "ns", BAD_CAST ""); in xmlRelaxNGCleanupTree()
7246 xmlSetProp(cur, BAD_CAST "ns", ns); in xmlRelaxNGCleanupTree()
7250 if (xmlStrEqual(cur->name, BAD_CAST "name")) { in xmlRelaxNGCleanupTree()
7269 xmlSetProp(cur, BAD_CAST "ns", in xmlRelaxNGCleanupTree()
7282 if (xmlStrEqual(cur->name, BAD_CAST "nsName")) { in xmlRelaxNGCleanupTree()
7290 } else if ((xmlStrEqual(cur->name, BAD_CAST "except")) && in xmlRelaxNGCleanupTree()
7299 (cur->parent->name, BAD_CAST "anyName"))) { in xmlRelaxNGCleanupTree()
7306 (cur->parent->name, BAD_CAST "nsName"))) { in xmlRelaxNGCleanupTree()
7312 } else if (xmlStrEqual(cur->name, BAD_CAST "anyName")) { in xmlRelaxNGCleanupTree()
7332 if (xmlStrEqual(cur->name, BAD_CAST "div")) { in xmlRelaxNGCleanupTree()
7340 ns = xmlGetProp(cur, BAD_CAST "ns"); in xmlRelaxNGCleanupTree()
7346 if (!xmlHasProp(child, BAD_CAST "ns")) { in xmlRelaxNGCleanupTree()
7347 xmlSetProp(child, BAD_CAST "ns", ns); in xmlRelaxNGCleanupTree()
7384 if ((!xmlStrEqual(cur->parent->name, BAD_CAST "value")) in xmlRelaxNGCleanupTree()
7387 (cur->parent->name, BAD_CAST "param"))) in xmlRelaxNGCleanupTree()
7506 doc->URL = xmlStrdup(BAD_CAST "in_memory_buffer"); in xmlRelaxNGParse()
7507 ctxt->URL = xmlStrdup(BAD_CAST "in_memory_buffer"); in xmlRelaxNGParse()
7534 (ctxt->URL ? ctxt->URL : BAD_CAST "schemas"), NULL); in xmlRelaxNGParse()
8002 ret = xmlRegExecPushString(exec, BAD_CAST "#text", ctxt); in xmlRelaxNGValidateCompiledContent()
8037 VALID_ERR2(XML_RELAXNG_ERR_NOELEM, BAD_CAST ""); in xmlRelaxNGValidateCompiledContent()
8386 ret = xmlRegExecPushString(ctxt->elem, BAD_CAST "#text", ctxt); in xmlRelaxNGValidatePushCData()
8388 VALID_ERR2(XML_RELAXNG_ERR_TEXTWRONG, BAD_CAST " TODO "); in xmlRelaxNGValidatePushCData()
8430 VALID_ERR2(XML_RELAXNG_ERR_NOELEM, BAD_CAST ""); in xmlRelaxNGValidatePopElement()
8827 val = xmlStrdup(BAD_CAST ""); in xmlRelaxNGValidateValue()
9367 tmp = xmlHashLookup2(partitions->triage, BAD_CAST "#text", in xmlRelaxNGValidateInterleave()
9375 BAD_CAST "#any", in xmlRelaxNGValidateInterleave()
9383 xmlHashLookup2(partitions->triage, BAD_CAST "#any", in xmlRelaxNGValidateInterleave()
9586 BAD_CAST "NULL definition list"); in xmlRelaxNGValidateDefinitionList()
10339 xmlHashLookup2(triage, BAD_CAST "#text", NULL); in xmlRelaxNGValidateState()
10346 xmlHashLookup2(triage, BAD_CAST "#any", in xmlRelaxNGValidateState()
10353 xmlHashLookup2(triage, BAD_CAST "#any", in xmlRelaxNGValidateState()
10455 content = xmlStrdup(BAD_CAST ""); in xmlRelaxNGValidateState()
10498 content = xmlStrdup(BAD_CAST ""); in xmlRelaxNGValidateState()
10549 content = xmlStrdup(BAD_CAST ""); in xmlRelaxNGValidateState()