• 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()
1658 if (xmlHasProp(root, BAD_CAST "ns") == NULL) { in xmlRelaxNGLoadInclude()
1659 xmlSetProp(root, BAD_CAST "ns", ns); in xmlRelaxNGLoadInclude()
1726 name = xmlGetProp(cur, BAD_CAST "name"); in xmlRelaxNGLoadInclude()
2000 if (xmlHasProp(root, BAD_CAST "ns") == NULL) { in xmlRelaxNGLoadExternalRef()
2001 xmlSetProp(root, BAD_CAST "ns", ns); in xmlRelaxNGLoadExternalRef()
2109 arg1 = BAD_CAST ""; in xmlRelaxNGGetErrorString()
2111 arg2 = BAD_CAST ""; in xmlRelaxNGGetErrorString()
2436 BAD_CAST in xmlRelaxNGSchemaTypeHave()
2467 BAD_CAST in xmlRelaxNGSchemaTypeCheck()
2508 BAD_CAST in xmlRelaxNGSchemaFacetCheck()
2517 if (xmlStrEqual(facetname, BAD_CAST "minInclusive")) { in xmlRelaxNGSchemaFacetCheck()
2519 } else if (xmlStrEqual(facetname, BAD_CAST "minExclusive")) { in xmlRelaxNGSchemaFacetCheck()
2521 } else if (xmlStrEqual(facetname, BAD_CAST "maxInclusive")) { in xmlRelaxNGSchemaFacetCheck()
2523 } else if (xmlStrEqual(facetname, BAD_CAST "maxExclusive")) { in xmlRelaxNGSchemaFacetCheck()
2525 } else if (xmlStrEqual(facetname, BAD_CAST "totalDigits")) { in xmlRelaxNGSchemaFacetCheck()
2527 } else if (xmlStrEqual(facetname, BAD_CAST "fractionDigits")) { in xmlRelaxNGSchemaFacetCheck()
2529 } else if (xmlStrEqual(facetname, BAD_CAST "pattern")) { in xmlRelaxNGSchemaFacetCheck()
2531 } else if (xmlStrEqual(facetname, BAD_CAST "enumeration")) { in xmlRelaxNGSchemaFacetCheck()
2533 } else if (xmlStrEqual(facetname, BAD_CAST "whiteSpace")) { in xmlRelaxNGSchemaFacetCheck()
2535 } else if (xmlStrEqual(facetname, BAD_CAST "length")) { in xmlRelaxNGSchemaFacetCheck()
2537 } else if (xmlStrEqual(facetname, BAD_CAST "maxLength")) { in xmlRelaxNGSchemaFacetCheck()
2539 } else if (xmlStrEqual(facetname, BAD_CAST "minLength")) { in xmlRelaxNGSchemaFacetCheck()
2600 BAD_CAST in xmlRelaxNGSchemaTypeCompare()
2646 if (xmlStrEqual(type, BAD_CAST "string")) in xmlRelaxNGDefaultTypeHave()
2648 if (xmlStrEqual(type, BAD_CAST "token")) in xmlRelaxNGDefaultTypeHave()
2674 if (xmlStrEqual(type, BAD_CAST "string")) in xmlRelaxNGDefaultTypeCheck()
2676 if (xmlStrEqual(type, BAD_CAST "token")) { in xmlRelaxNGDefaultTypeCheck()
2706 if (xmlStrEqual(type, BAD_CAST "string")) { in xmlRelaxNGDefaultTypeCompare()
2708 } else if (xmlStrEqual(type, BAD_CAST "token")) { in xmlRelaxNGDefaultTypeCompare()
2833 xmlRelaxNGRegisterTypeLibrary(BAD_CAST in xmlRelaxNGInitTypes()
3229 ctxt->state, BAD_CAST "#text", in xmlRelaxNGCompile()
3493 ret = xmlGetProp(node, BAD_CAST "datatypeLibrary"); in xmlRelaxNGGetDataTypeLibrary()
3499 escape = xmlURIEscapeStr(ret, BAD_CAST ":/#?"); in xmlRelaxNGGetDataTypeLibrary()
3509 ret = xmlGetProp(node, BAD_CAST "datatypeLibrary"); in xmlRelaxNGGetDataTypeLibrary()
3515 escape = xmlURIEscapeStr(ret, BAD_CAST ":/#?"); in xmlRelaxNGGetDataTypeLibrary()
3550 type = xmlGetProp(node, BAD_CAST "type"); in xmlRelaxNGParseValue()
3560 xmlStrdup(BAD_CAST "http://relaxng.org/ns/structure/1.0"); in xmlRelaxNGParseValue()
3589 def->value = xmlStrdup(BAD_CAST ""); in xmlRelaxNGParseValue()
3639 type = xmlGetProp(node, BAD_CAST "type"); in xmlRelaxNGParseData()
3653 xmlStrdup(BAD_CAST "http://relaxng.org/ns/structure/1.0"); in xmlRelaxNGParseData()
3686 BAD_CAST in xmlRelaxNGParseData()
3688 && ((xmlStrEqual(def->name, BAD_CAST "IDREF")) in xmlRelaxNGParseData()
3689 || (xmlStrEqual(def->name, BAD_CAST "IDREFS")))) { in xmlRelaxNGParseData()
3700 if (!xmlStrEqual(content->name, BAD_CAST "param")) in xmlRelaxNGParseData()
3703 BAD_CAST "http://relaxng.org/ns/structure/1.0")) { in xmlRelaxNGParseData()
3709 (xmlStrEqual(content->name, BAD_CAST "param"))) in xmlRelaxNGParseData()
3715 param->name = xmlGetProp(content, BAD_CAST "name"); in xmlRelaxNGParseData()
3737 && (xmlStrEqual(content->name, BAD_CAST "except"))) { in xmlRelaxNGParseData()
3778 static const xmlChar *invalidName = BAD_CAST "\1";
4166 BAD_CAST "#text", NULL, in xmlRelaxNGCheckChoiceDeterminism()
4185 BAD_CAST "#any", NULL, in xmlRelaxNGCheckChoiceDeterminism()
4189 BAD_CAST "#any", (*tmp)->ns, in xmlRelaxNGCheckChoiceDeterminism()
4427 BAD_CAST "#text", NULL, in xmlRelaxNGComputeInterleaves()
4446 BAD_CAST "#any", NULL, in xmlRelaxNGComputeInterleaves()
4450 BAD_CAST "#any", (*tmp)->ns, in xmlRelaxNGComputeInterleaves()
4523 if (xmlHashAddEntry(ctxt->interleaves, BAD_CAST name, def) < 0) { in xmlRelaxNGParseInterleave()
4583 if (!xmlStrEqual(root->name, BAD_CAST "grammar")) { in xmlRelaxNGParseInclude()
4622 name = xmlGetProp(node, BAD_CAST "name"); in xmlRelaxNGParseDefine()
4782 ns = xmlGetProp(root, BAD_CAST "ns"); in xmlRelaxNGProcessExternalRef()
4786 ns = xmlGetProp(tmp, BAD_CAST "ns"); in xmlRelaxNGProcessExternalRef()
4793 xmlSetProp(root, BAD_CAST "ns", ns); in xmlRelaxNGProcessExternalRef()
4819 xmlUnsetProp(root, BAD_CAST "ns"); in xmlRelaxNGProcessExternalRef()
4934 def->name = xmlGetProp(node, BAD_CAST "name"); in xmlRelaxNGParsePattern()
5050 def->name = xmlGetProp(node, BAD_CAST "name"); in xmlRelaxNGParsePattern()
5319 val = xmlGetProp(node, BAD_CAST "ns"); in xmlRelaxNGParseNameClass()
5323 (xmlStrEqual(val, BAD_CAST "http://www.w3.org/2000/xmlns"))) { in xmlRelaxNGParseNameClass()
5330 (val[0] == 0) && (xmlStrEqual(ret->name, BAD_CAST "xmlns"))) { in xmlRelaxNGParseNameClass()
5346 ret->ns = xmlGetProp(node, BAD_CAST "ns"); in xmlRelaxNGParseNameClass()
5354 (ret->ns, BAD_CAST "http://www.w3.org/2000/xmlns"))) { in xmlRelaxNGParseNameClass()
5766 combine = xmlGetProp(cur->node, BAD_CAST "combine"); in xmlRelaxNGCheckCombine()
5768 if (xmlStrEqual(combine, BAD_CAST "choice")) { in xmlRelaxNGCheckCombine()
5776 } else if (xmlStrEqual(combine, BAD_CAST "interleave")) { in xmlRelaxNGCheckCombine()
5854 if (xmlHashAddEntry(ctxt->interleaves, BAD_CAST tmpname, cur) < in xmlRelaxNGCheckCombine()
5888 (!xmlStrEqual(cur->node->parent->name, BAD_CAST "start"))) { in xmlRelaxNGCombineStart()
5894 combine = xmlGetProp(cur->node->parent, BAD_CAST "combine"); in xmlRelaxNGCombineStart()
5898 if (xmlStrEqual(combine, BAD_CAST "choice")) { in xmlRelaxNGCombineStart()
5906 } else if (xmlStrEqual(combine, BAD_CAST "interleave")) { in xmlRelaxNGCombineStart()
5959 if (xmlHashAddEntry(ctxt->interleaves, BAD_CAST tmpname, cur) < in xmlRelaxNGCombineStart()
6307 (cur->name ? cur->name: BAD_CAST "null"), NULL); in xmlRelaxNGCheckRules()
6949 if (xmlStrEqual(cur->name, BAD_CAST "name")) { in xmlRelaxNGCleanupAttributes()
6950 if ((!xmlStrEqual(node->name, BAD_CAST "element")) && in xmlRelaxNGCleanupAttributes()
6951 (!xmlStrEqual(node->name, BAD_CAST "attribute")) && in xmlRelaxNGCleanupAttributes()
6952 (!xmlStrEqual(node->name, BAD_CAST "ref")) && in xmlRelaxNGCleanupAttributes()
6953 (!xmlStrEqual(node->name, BAD_CAST "parentRef")) && in xmlRelaxNGCleanupAttributes()
6954 (!xmlStrEqual(node->name, BAD_CAST "param")) && in xmlRelaxNGCleanupAttributes()
6955 (!xmlStrEqual(node->name, BAD_CAST "define"))) { in xmlRelaxNGCleanupAttributes()
6960 } else if (xmlStrEqual(cur->name, BAD_CAST "type")) { in xmlRelaxNGCleanupAttributes()
6961 if ((!xmlStrEqual(node->name, BAD_CAST "value")) && in xmlRelaxNGCleanupAttributes()
6962 (!xmlStrEqual(node->name, BAD_CAST "data"))) { in xmlRelaxNGCleanupAttributes()
6967 } else if (xmlStrEqual(cur->name, BAD_CAST "href")) { in xmlRelaxNGCleanupAttributes()
6968 if ((!xmlStrEqual(node->name, BAD_CAST "externalRef")) && in xmlRelaxNGCleanupAttributes()
6969 (!xmlStrEqual(node->name, BAD_CAST "include"))) { in xmlRelaxNGCleanupAttributes()
6974 } else if (xmlStrEqual(cur->name, BAD_CAST "combine")) { in xmlRelaxNGCleanupAttributes()
6975 if ((!xmlStrEqual(node->name, BAD_CAST "start")) && in xmlRelaxNGCleanupAttributes()
6976 (!xmlStrEqual(node->name, BAD_CAST "define"))) { in xmlRelaxNGCleanupAttributes()
6981 } else if (xmlStrEqual(cur->name, BAD_CAST "datatypeLibrary")) { in xmlRelaxNGCleanupAttributes()
7009 } else if (!xmlStrEqual(cur->name, BAD_CAST "ns")) { in xmlRelaxNGCleanupAttributes()
7048 ((xmlStrEqual(cur->parent->name, BAD_CAST "name")) || in xmlRelaxNGCleanupTree()
7049 (xmlStrEqual(cur->parent->name, BAD_CAST "value")) || in xmlRelaxNGCleanupTree()
7050 (xmlStrEqual(cur->parent->name, BAD_CAST "param")))) { in xmlRelaxNGCleanupTree()
7059 if (xmlStrEqual(cur->name, BAD_CAST "externalRef")) { in xmlRelaxNGCleanupTree()
7065 ns = xmlGetProp(cur, BAD_CAST "ns"); in xmlRelaxNGCleanupTree()
7070 ns = xmlGetProp(tmp, BAD_CAST "ns"); in xmlRelaxNGCleanupTree()
7076 href = xmlGetProp(cur, BAD_CAST "href"); in xmlRelaxNGCleanupTree()
7145 } else if (xmlStrEqual(cur->name, BAD_CAST "include")) { in xmlRelaxNGCleanupTree()
7150 href = xmlGetProp(cur, BAD_CAST "href"); in xmlRelaxNGCleanupTree()
7175 ns = xmlGetProp(cur, BAD_CAST "ns"); in xmlRelaxNGCleanupTree()
7180 ns = xmlGetProp(tmp, BAD_CAST "ns"); in xmlRelaxNGCleanupTree()
7199 } else if ((xmlStrEqual(cur->name, BAD_CAST "element")) || in xmlRelaxNGCleanupTree()
7200 (xmlStrEqual(cur->name, BAD_CAST "attribute"))) in xmlRelaxNGCleanupTree()
7209 name = xmlGetProp(cur, BAD_CAST "name"); in xmlRelaxNGCleanupTree()
7213 xmlNewChild(cur, cur->ns, BAD_CAST "name", in xmlRelaxNGCleanupTree()
7219 BAD_CAST "name", NULL); in xmlRelaxNGCleanupTree()
7232 xmlUnsetProp(cur, BAD_CAST "name"); in xmlRelaxNGCleanupTree()
7234 ns = xmlGetProp(cur, BAD_CAST "ns"); in xmlRelaxNGCleanupTree()
7237 xmlSetProp(text, BAD_CAST "ns", ns); in xmlRelaxNGCleanupTree()
7242 BAD_CAST "attribute")) { in xmlRelaxNGCleanupTree()
7243 xmlSetProp(text, BAD_CAST "ns", BAD_CAST ""); in xmlRelaxNGCleanupTree()
7246 } else if ((xmlStrEqual(cur->name, BAD_CAST "name")) || in xmlRelaxNGCleanupTree()
7247 (xmlStrEqual(cur->name, BAD_CAST "nsName")) || in xmlRelaxNGCleanupTree()
7248 (xmlStrEqual(cur->name, BAD_CAST "value"))) { in xmlRelaxNGCleanupTree()
7253 if (xmlHasProp(cur, BAD_CAST "ns") == NULL) { in xmlRelaxNGCleanupTree()
7260 ns = xmlGetProp(node, BAD_CAST "ns"); in xmlRelaxNGCleanupTree()
7267 xmlSetProp(cur, BAD_CAST "ns", BAD_CAST ""); in xmlRelaxNGCleanupTree()
7269 xmlSetProp(cur, BAD_CAST "ns", ns); in xmlRelaxNGCleanupTree()
7273 if (xmlStrEqual(cur->name, BAD_CAST "name")) { in xmlRelaxNGCleanupTree()
7292 xmlSetProp(cur, BAD_CAST "ns", in xmlRelaxNGCleanupTree()
7305 if (xmlStrEqual(cur->name, BAD_CAST "nsName")) { in xmlRelaxNGCleanupTree()
7313 } else if ((xmlStrEqual(cur->name, BAD_CAST "except")) && in xmlRelaxNGCleanupTree()
7322 (cur->parent->name, BAD_CAST "anyName"))) { in xmlRelaxNGCleanupTree()
7329 (cur->parent->name, BAD_CAST "nsName"))) { in xmlRelaxNGCleanupTree()
7335 } else if (xmlStrEqual(cur->name, BAD_CAST "anyName")) { in xmlRelaxNGCleanupTree()
7355 if (xmlStrEqual(cur->name, BAD_CAST "div")) { in xmlRelaxNGCleanupTree()
7363 ns = xmlGetProp(cur, BAD_CAST "ns"); in xmlRelaxNGCleanupTree()
7369 if (!xmlHasProp(child, BAD_CAST "ns")) { in xmlRelaxNGCleanupTree()
7370 xmlSetProp(child, BAD_CAST "ns", ns); in xmlRelaxNGCleanupTree()
7407 if ((!xmlStrEqual(cur->parent->name, BAD_CAST "value")) in xmlRelaxNGCleanupTree()
7410 (cur->parent->name, BAD_CAST "param"))) in xmlRelaxNGCleanupTree()
7529 doc->URL = xmlStrdup(BAD_CAST "in_memory_buffer"); in xmlRelaxNGParse()
7530 ctxt->URL = xmlStrdup(BAD_CAST "in_memory_buffer"); in xmlRelaxNGParse()
7557 (ctxt->URL ? ctxt->URL : BAD_CAST "schemas"), NULL); in xmlRelaxNGParse()
8025 ret = xmlRegExecPushString(exec, BAD_CAST "#text", ctxt); in xmlRelaxNGValidateCompiledContent()
8060 VALID_ERR2(XML_RELAXNG_ERR_NOELEM, BAD_CAST ""); in xmlRelaxNGValidateCompiledContent()
8409 ret = xmlRegExecPushString(ctxt->elem, BAD_CAST "#text", ctxt); in xmlRelaxNGValidatePushCData()
8411 VALID_ERR2(XML_RELAXNG_ERR_TEXTWRONG, BAD_CAST " TODO "); in xmlRelaxNGValidatePushCData()
8453 VALID_ERR2(XML_RELAXNG_ERR_NOELEM, BAD_CAST ""); in xmlRelaxNGValidatePopElement()
8850 val = xmlStrdup(BAD_CAST ""); in xmlRelaxNGValidateValue()
9393 tmp = xmlHashLookup2(partitions->triage, BAD_CAST "#text", in xmlRelaxNGValidateInterleave()
9401 BAD_CAST "#any", in xmlRelaxNGValidateInterleave()
9409 xmlHashLookup2(partitions->triage, BAD_CAST "#any", in xmlRelaxNGValidateInterleave()
9612 BAD_CAST "NULL definition list"); in xmlRelaxNGValidateDefinitionList()
10365 xmlHashLookup2(triage, BAD_CAST "#text", NULL); in xmlRelaxNGValidateState()
10372 xmlHashLookup2(triage, BAD_CAST "#any", in xmlRelaxNGValidateState()
10379 xmlHashLookup2(triage, BAD_CAST "#any", in xmlRelaxNGValidateState()
10481 content = xmlStrdup(BAD_CAST ""); in xmlRelaxNGValidateState()
10524 content = xmlStrdup(BAD_CAST ""); in xmlRelaxNGValidateState()
10575 content = xmlStrdup(BAD_CAST ""); in xmlRelaxNGValidateState()