Home | History | Annotate | Download | only in libxml2

Lines Matching refs:minOccurs

668     int minOccurs;
4173 if ((elem->minOccurs != 1) || (elem->maxOccurs != 1)) {
4174 fprintf(output, " min %d ", elem->minOccurs);
4310 if (particle->minOccurs != 1)
4311 fprintf(output, " min: %d", particle->minOccurs);
5477 * @min: the minOccurs
5506 ret->minOccurs = min;
6054 * Get the minOccurs property
6066 attr = xmlSchemaGetPropNode(node, "minOccurs");
6817 int minOccurs,
6820 if ((maxOccurs == 0) && ( minOccurs == 0))
6842 } else if (minOccurs > maxOccurs) {
6849 xmlSchemaGetPropNode(node, "minOccurs"),
6864 * will be created (except if minOccurs==maxOccurs==0, in this case
6868 * Returns the particle or NULL in case of error or if minOccurs==maxOccurs==0
6890 (!xmlStrEqual(attr->name, BAD_CAST "minOccurs")) &&
6905 * minOccurs/maxOccurs.
6934 * No component if minOccurs==maxOccurs==0.
8432 * of an error or if the particle has minOccurs==maxOccurs==0.
8523 xmlStrEqual(attr->name, BAD_CAST "minOccurs"))
8532 "Only the attributes 'minOccurs', 'maxOccurs' and "
8619 (!xmlStrEqual(attr->name, BAD_CAST "minOccurs")) &&
9362 (!xmlStrEqual(attr->name, BAD_CAST "minOccurs")) &&
9403 * Corresponds to no component at all if minOccurs==maxOccurs==0.
11237 (!xmlStrEqual(attr->name, BAD_CAST "minOccurs"))) {
11292 if (part->minOccurs > 1) {
11296 "Invalid value for minOccurs (must be 0 or 1)",
11299 part->minOccurs = 1;
11379 } else if (((WXS_PARTICLE(part))->minOccurs != 1) ||
11386 * group's minOccurs and maxOccurs [attribute]
11394 "maxOccurs/minOccurs other than 1",
12611 int minOccurs = particle->minOccurs < 1 ? 0 : particle->minOccurs - 1;
12614 xmlAutomataNewCounter(pctxt->am, minOccurs,
12637 if (particle->minOccurs == 0) {
12675 (particle->minOccurs < 2)) {
12686 int minOccurs = particle->minOccurs < 1 ?
12687 0 : particle->minOccurs - 1;
12690 counter = xmlAutomataNewCounter(ctxt->am, minOccurs, maxOccurs);
12697 if (particle->minOccurs == 0) {
12784 int minOccurs =
12785 particle->minOccurs < 1 ? 0 : particle->minOccurs - 1;
12787 counter = xmlAutomataNewCounter(pctxt->am, minOccurs, maxOccurs);
12816 if (particle->minOccurs == 0) {
12834 if ((particle->minOccurs == 1) && (particle->maxOccurs == 1)) {
12847 if (particle->minOccurs > 1) {
12856 particle->minOccurs - 1, UNBOUNDED);
12896 if (particle->minOccurs == 0) {
12903 || (particle->minOccurs > 1)) {
12912 particle->minOccurs - 1,
12928 if ((particle->minOccurs == 0) || (ret == 1)) {
12941 if (particle->minOccurs == 0) {
12977 int minOccurs =
12978 particle->minOccurs < 1 ? 0 : particle->minOccurs - 1;
12985 xmlAutomataNewCounter(pctxt->am, minOccurs, maxOccurs);
13004 if (particle->minOccurs == 0) {
13052 sub->minOccurs, sub->maxOccurs);
13056 if ((sub->minOccurs == 1) &&
13063 } else if ((sub->minOccurs == 0) &&
13079 if (particle->minOccurs == 0) {
14623 (particle->minOccurs == 0))
14635 cur = part->minOccurs;
14644 return (particle->minOccurs * min);
14656 sum += part->minOccurs;
14661 return (particle->minOccurs * sum);
14742 if ((particle == NULL) || (particle->minOccurs == 0) ||
16797 if (xmlSchemaCheckParticleRangeOK(r->minOccurs, r->maxOccurs,
16798 b->minOccurs, b->maxOccurs) != 0)
16901 if (xmlSchemaCheckParticleRangeOK(r->minOccurs, r->maxOccurs,
16902 b->minOccurs, b->maxOccurs) != 0)
16961 if (xmlSchemaCheckParticleRangeOK(r->minOccurs, r->maxOccurs,
16962 b->minOccurs, b->maxOccurs))
17072 b->minOccurs, b->maxOccurs) != 0)
17113 if (xmlSchemaCheckParticleRangeOK(r->minOccurs, r->maxOccurs,
17114 b->minOccurs, b->maxOccurs))
18315 (particle->minOccurs == 0))) &&
18323 * minOccurs/maxOccurs = 1 (i.e. a "particle emptiable").
18479 ((xmlSchemaParticlePtr) type->subtypes)->minOccurs,
18504 * <sequence> with minOccurs==maxOccurs==1.