• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/libxml/

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);
6567 schema->topgrammar->start->content;
7381 * Some preprocessing of the document content
7441 def->content = ret->topgrammar->start;
7594 xmlRelaxNGDumpDefines(output, define->content);
7599 xmlRelaxNGDumpDefines(output, define->content);
7604 xmlRelaxNGDumpDefines(output, define->content);
7609 xmlRelaxNGDumpDefines(output, define->content);
7614 xmlRelaxNGDumpDefines(output, define->content);
7619 xmlRelaxNGDumpDefines(output, define->content);
7624 xmlRelaxNGDumpDefines(output, define->content);
7629 xmlRelaxNGDumpDefines(output, define->content);
7634 xmlRelaxNGDumpDefines(output, define->content);
7642 xmlRelaxNGDumpDefines(output, define->content);
7650 xmlRelaxNGDumpDefines(output, define->content);
7658 xmlRelaxNGDumpDefines(output, define->content);
7663 xmlRelaxNGDumpDefines(output, define->content);
7674 xmlRelaxNGDumpDefines(output, define->content);
7777 * Validation of compiled content *
7837 * @content: list of children to test against the regexp
7839 * Validate the content model of an element or start using the regexp
7845 xmlRegexpPtr regexp, xmlNodePtr content)
7858 cur = content;
7910 * There might be content model errors outside of the pure
7934 * @exec: the regexp runtime for the new content model
7936 * Push a new regexp for the current node content model on the stack
7973 * Pop the regexp of the current node content model from the stack
8077 * Validate the attributes part of the content.
8286 * verify that we reached a terminal state of the content model.
8317 * 0 and the content of the node has been expanded.
8498 if ((ret == 0) && (define->content != NULL)) {
8505 ret = xmlRelaxNGValidateValue(ctxt, define->content);
8653 xmlRelaxNGDefinePtr list = define->content;
8679 xmlRelaxNGDefinePtr list = define->content;
8753 ret = xmlRelaxNGValidateValueList(ctxt, define->content);
8769 xmlRelaxNGValidateValueList(ctxt, define->content);
8785 list = define->content;
8801 list = define->content;
8815 ret = xmlRelaxNGValidateValue(ctxt, define->content);
8883 list = define->content;
8937 ret = xmlRelaxNGValidateValueContent(ctxt, define->content);
8974 ret = xmlRelaxNGValidateValueContent(ctxt, define->content);
9380 * Validate the given node content against the (list) of definitions
9465 list = define->content;
9599 * there is nothing left not consumed in the element content
9793 "Validating content of '%s' : %d\n",
9837 if (define->content != NULL) {
9840 content);
9935 define->content);
9970 ret = xmlRelaxNGValidateDefinitionList(ctxt, define->content);
10019 content);
10054 content);
10182 list = define->content;
10231 ret = xmlRelaxNGValidateDefinitionList(ctxt, define->content);
10244 ret = xmlRelaxNGValidateDefinition(ctxt, define->content);
10248 xmlChar *content = NULL;
10259 content = xmlStrcat(content, child->content);
10265 if (content != NULL)
10266 xmlFree(content);
10269 if (content == NULL) {
10270 content = xmlStrdup(BAD_CAST "");
10271 if (content == NULL) {
10277 ret = xmlRelaxNGValidateDatatype(ctxt, content, define,
10284 if (content != NULL)
10285 xmlFree(content);
10289 xmlChar *content = NULL;
10302 content = xmlStrcat(content, child->content);
10308 if (content != NULL)
10309 xmlFree(content);
10312 if (content == NULL) {
10313 content = xmlStrdup(BAD_CAST "");
10314 if (content == NULL) {
10321 ctxt->state->value = content;
10329 if (content != NULL)
10330 xmlFree(content);
10334 xmlChar *content;
10343 content = NULL;
10353 content = xmlStrcat(content, child->content);
10359 if (content != NULL)
10360 xmlFree(content);
10363 if (content == NULL) {
10364 content = xmlStrdup(BAD_CAST "");
10365 if (content == NULL) {
10371 len = xmlStrlen(content);
10374 ctxt->state->value = content;
10375 ctxt->state->endvalue = content + len;
10384 if (content != NULL)
10385 xmlFree(content);