• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/libxml2-2.7.2/

Lines Matching defs:content

111     xmlRelaxNGDefinePtr start;  /* <start> content */
124 XML_RELAXNG_TEXT, /* textual content */
160 xmlRelaxNGDefinePtr content; /* the expected content */
168 xmlRegexpPtr contModel; /* a compiled content model if available */
248 /* used to compile content models */
389 int perr; /* signal error in content model
402 xmlRelaxNGDefinePtr content; /* the definitions */
415 xmlRelaxNGDefinePtr content; /* the definitions */
1587 * the content is preprocessed before being returned back to the caller.
1663 * Some preprocessing of the document content, this include recursing
1924 * the content is preprocessed before being returned back to the caller.
1993 * Some preprocessing of the document content
2148 "Did not expect text in element %s content\n", arg1);
2168 snprintf(msg, 1000, "Element %s failed to validate content\n",
2172 snprintf(msg, 1000, "Element %s has extra content: %s\n",
2845 * Compiling element content into regexp *
2847 * Sometime the element content can be compiled into a pure regexp, *
2879 ret = xmlRelaxNGIsCompileable(def->content);
2887 * Check if the element content is compileable
2893 list = def->content;
2913 "element content for %s is compilable\n",
2917 "element content for %s is not compilable\n",
2944 list = def->content;
2962 list = def->content;
3010 * element boundaries, where it tries to compile the content if possible
3031 list = def->content;
3062 list = def->content;
3087 * we can't build the content model for this element content
3096 ret = xmlRelaxNGCompile(ctxt, def->content);
3101 xmlRelaxNGCompile(ctxt, def->content);
3111 list = def->content;
3124 list = def->content;
3130 list = def->content;
3144 list = def->content;
3167 list = def->content;
3181 xmlRelaxNGCompile(ctxt, def->content);
3257 ret = xmlRelaxNGTryCompile(ctxt, def->content);
3278 list = def->content;
3326 #define IS_BLANK_NODE(n) (xmlRelaxNGIsBlank((n)->content))
3359 ret = xmlRelaxNGIsNullable(define->content);
3372 xmlRelaxNGDefinePtr list = define->content;
3386 xmlRelaxNGDefinePtr list = define->content;
3483 * parse the content of a RelaxNG value node.
3545 "Expecting a single text value for <value>content\n",
3551 "Element <value> has no content\n", NULL, NULL);
3575 * parse the content of a RelaxNG data node.
3587 xmlNodePtr content;
3645 content = node->children;
3650 while (content != NULL) {
3651 if (!xmlStrEqual(content->name, BAD_CAST "param"))
3658 content = content->next;
3659 while ((content != NULL) &&
3660 (xmlStrEqual(content->name, BAD_CAST "param")))
3661 content = content->next;
3666 param->name = xmlGetProp(content, BAD_CAST "name");
3671 param->value = xmlNodeGetContent(content);
3681 content = content->next;
3687 if ((content != NULL)
3688 && (xmlStrEqual(content->name, BAD_CAST "except"))) {
3697 child = content->children;
3698 def->content = except;
3700 xmlRngPErr(ctxt, content, XML_RNGP_EXCEPT_NO_CONTENT,
3701 "except has no content\n", NULL, NULL);
3707 except->content = last = tmp2;
3715 content = content->next;
3720 if (content != NULL) {
3721 xmlRngPErr(ctxt, content, XML_RNGP_DATA_CONTENT,
3722 "Element data has unexpected content %s\n",
3723 content->name, NULL);
3907 if (cur->content != NULL) {
3909 cur = cur->content;
4007 if (cur->content != NULL) {
4009 cur = cur->content;
4073 cur = def->content;
4095 cur = def->content;
4210 cur = def->content;
4230 cur = def->content;
4270 * - if <text/> is used to handle mixed content, it is better to
4301 cur = def->content;
4314 cur = def->content;
4439 * parse the content of a RelaxNG interleave node.
4484 def->content = last = cur;
4501 * Integrate the content of an include node in the current grammar
4551 * parse the content of a RelaxNG define element node.
4586 def->content =
4643 if (docu->content == NULL) {
4685 docu->content = docu->schema->topgrammar->start;
4695 def->content = docu->content;
4707 * parse the content of a RelaxNG pattern node.
4751 def->content =
4763 def->content =
4775 def->content =
4787 def->content =
4799 def->content =
4868 def->content =
4976 if ((def->content != NULL) && (def->content->next != NULL)) {
4980 tmp->content = def->content;
4981 def->content = tmp;
4989 tmp->next = def->content;
4990 def->content = tmp;
5007 * parse the content of a RelaxNG attribute node.
5058 ret->content = cur;
5065 "attribute has invalid content\n", NULL,
5091 * parse the content of a RelaxNG nameClass node.
5113 xmlRngPErr(ctxt, node, XML_RNGP_EXCEPT_EMPTY, "except has no content\n",
5134 ret->content = cur;
5152 * parse the content of a RelaxNG nameClass node.
5292 * parse the content of a RelaxNG element node.
5321 "xmlRelaxNGParseElement: element has no content\n",
5351 ret->content = last = cur;
5354 (ret->content == last)) {
5355 ret->content = xmlRelaxNGNewDefine(ctxt, node);
5356 if (ret->content != NULL) {
5357 ret->content->type = XML_RELAXNG_GROUP;
5358 ret->content->content = last;
5360 ret->content = last;
5405 * parse the content of a RelaxNG start node.
5426 def->content = last;
5453 * parse the content of a RelaxNG start node.
5511 * parse the content of a RelaxNG grammar node.
5579 if (ref->content != NULL) {
5581 "Internal error: reference has content in CheckReference %s\n",
5590 cur->content = def;
5680 if (tmp->content != NULL) {
5681 if (tmp->content->next != NULL) {
5685 tmp2 = xmlRelaxNGNewDefine(ctxt, tmp->content->node);
5689 tmp2->content = tmp->content;
5691 tmp2 = tmp->content;
5694 cur->content = tmp2;
5700 tmp->content = cur;
5703 define->content = cur;
5807 cur->content = grammar->start;
5851 ret = xmlRelaxNGCheckCycles(ctxt, cur->content, depth);
5860 ret = xmlRelaxNGCheckCycles(ctxt, cur->content, depth + 1);
5862 ret = xmlRelaxNGCheckCycles(ctxt, cur->content, depth);
5889 if (parent->content == cur)
5890 parent->content = cur->next;
5921 xmlRelaxNGSimplify(ctxt, cur->content, cur);
5955 if (cur->content != NULL)
5956 xmlRelaxNGSimplify(ctxt, cur->content, cur);
5969 while (cur->content != NULL) {
5971 xmlRelaxNGGenerateAttributes(ctxt, cur->content);
5974 * migrate cur->content to attrs
5976 tmp = cur->content;
5977 cur->content = tmp->next;
5982 * cur->content can generate elements or text
5987 pre = cur->content;
6008 if (cur->content == NULL)
6010 else if (cur->content->next == NULL) {
6014 parent->content = cur->content;
6015 cur->content->next = cur->next;
6016 cur = cur->content;
6018 cur->content->next = cur->next;
6019 prev->next = cur->content;
6020 cur = cur->content;
6028 (cur->content != NULL) &&
6029 (cur->content->type == XML_RELAXNG_NOT_ALLOWED)) {
6071 * @ct1: the first content type
6072 * @ct2: the second content type
6074 * Try to group 2 content types
6076 * Returns the content type
6097 * @ct1: the first content type
6098 * @ct2: the second content type
6100 * Compute the max content-type
6102 * Returns the content type
6129 * Returns the content type of @cur
6162 ret = xmlRelaxNGCheckRules(ctxt, cur->content,
6204 "Element %s attributes have a content type error\n",
6208 xmlRelaxNGCheckRules(ctxt, cur->content, nflags,
6212 "Element %s has a content type error\n",
6261 xmlRelaxNGCheckRules(ctxt, cur->content, nflags, cur->type);
6277 xmlRelaxNGCheckRules(ctxt, cur->content, nflags,
6298 xmlRelaxNGCheckRules(ctxt, cur->content, nflags,
6316 xmlRelaxNGCheckRules(ctxt, cur->content, nflags,
6343 xmlRelaxNGCheckRules(ctxt, cur->content, nflags,
6352 xmlRelaxNGCheckRules(ctxt, cur->content, nflags,
6360 xmlRelaxNGCheckRules(ctxt, cur->content, flags, cur->type);
6368 xmlRelaxNGCheckRules(ctxt, cur->content, flags, cur->type);
6402 xmlRelaxNGCheckRules(ctxt, cur->content, flags, cur->type);
6405 xmlRelaxNGCheckRules(ctxt, cur->content, flags, cur->type);
6475 "Failed to parse <grammar> content\n", NULL, NULL);
6569 schema->topgrammar->start->content;
7383 * Some preprocessing of the document content
7443 def->content = ret->topgrammar->start;
7596 xmlRelaxNGDumpDefines(output, define->content);
7601 xmlRelaxNGDumpDefines(output, define->content);
7606 xmlRelaxNGDumpDefines(output, define->content);
7611 xmlRelaxNGDumpDefines(output, define->content);
7616 xmlRelaxNGDumpDefines(output, define->content);
7621 xmlRelaxNGDumpDefines(output, define->content);
7626 xmlRelaxNGDumpDefines(output, define->content);
7631 xmlRelaxNGDumpDefines(output, define->content);
7636 xmlRelaxNGDumpDefines(output, define->content);
7644 xmlRelaxNGDumpDefines(output, define->content);
7652 xmlRelaxNGDumpDefines(output, define->content);
7660 xmlRelaxNGDumpDefines(output, define->content);
7665 xmlRelaxNGDumpDefines(output, define->content);
7676 xmlRelaxNGDumpDefines(output, define->content);
7779 * Validation of compiled content *
7839 * @content: list of children to test against the regexp
7841 * Validate the content model of an element or start using the regexp
7847 xmlRegexpPtr regexp, xmlNodePtr content)
7860 cur = content;
7912 * There might be content model errors outside of the pure
7936 * @exec: the regexp runtime for the new content model
7938 * Push a new regexp for the current node content model on the stack
7975 * Pop the regexp of the current node content model from the stack
8079 * Validate the attributes part of the content.
8288 * verify that we reached a terminal state of the content model.
8319 * 0 and the content of the node has been expanded.
8500 if ((ret == 0) && (define->content != NULL)) {
8507 ret = xmlRelaxNGValidateValue(ctxt, define->content);
8655 xmlRelaxNGDefinePtr list = define->content;
8681 xmlRelaxNGDefinePtr list = define->content;
8755 ret = xmlRelaxNGValidateValueList(ctxt, define->content);
8771 xmlRelaxNGValidateValueList(ctxt, define->content);
8787 list = define->content;
8803 list = define->content;
8817 if (define->content == NULL) {
8819 ret = xmlRelaxNGValidateValue(ctxt, define->content);
8887 list = define->content;
8941 ret = xmlRelaxNGValidateValueContent(ctxt, define->content);
8978 ret = xmlRelaxNGValidateValueContent(ctxt, define->content);
9384 * Validate the given node content against the (list) of definitions
9469 list = define->content;
9603 * there is nothing left not consumed in the element content
9797 "Validating content of '%s' : %d\n",
9842 if (define->content != NULL) {
9845 content);
9940 define->content);
9975 ret = xmlRelaxNGValidateDefinitionList(ctxt, define->content);
10024 content);
10059 content);
10187 list = define->content;
10236 ret = xmlRelaxNGValidateDefinitionList(ctxt, define->content);
10249 ret = xmlRelaxNGValidateDefinition(ctxt, define->content);
10253 xmlChar *content = NULL;
10264 content = xmlStrcat(content, child->content);
10270 if (content != NULL)
10271 xmlFree(content);
10274 if (content == NULL) {
10275 content = xmlStrdup(BAD_CAST "");
10276 if (content == NULL) {
10282 ret = xmlRelaxNGValidateDatatype(ctxt, content, define,
10289 if (content != NULL)
10290 xmlFree(content);
10294 xmlChar *content = NULL;
10307 content = xmlStrcat(content, child->content);
10313 if (content != NULL)
10314 xmlFree(content);
10317 if (content == NULL) {
10318 content = xmlStrdup(BAD_CAST "");
10319 if (content == NULL) {
10326 ctxt->state->value = content;
10334 if (content != NULL)
10335 xmlFree(content);
10339 xmlChar *content;
10348 content = NULL;
10358 content = xmlStrcat(content, child->content);
10364 if (content != NULL)
10365 xmlFree(content);
10368 if (content == NULL) {
10369 content = xmlStrdup(BAD_CAST "");
10370 if (content == NULL) {
10376 len = xmlStrlen(content);
10379 ctxt->state->value = content;
10380 ctxt->state->endvalue = content + len;
10389 if (content != NULL)
10390 xmlFree(content);