Home | History | Annotate | Download | only in libxml2

Lines Matching defs:maxOccurs

669     int maxOccurs;
4173 if ((elem->minOccurs != 1) || (elem->maxOccurs != 1)) {
4175 if (elem->maxOccurs >= UNBOUNDED)
4177 else if (elem->maxOccurs != 1)
4178 fprintf(output, "max: %d\n", elem->maxOccurs);
4312 if (particle->maxOccurs >= UNBOUNDED)
4314 else if (particle->maxOccurs != 1)
4315 fprintf(output, " max: %d", particle->maxOccurs);
5478 * @max: the maxOccurs
5507 ret->maxOccurs = max;
5989 * Get the maxOccurs property
6001 attr = xmlSchemaGetPropNode(node, "maxOccurs");
6818 int maxOccurs) {
6820 if ((maxOccurs == 0) && ( minOccurs == 0))
6822 if (maxOccurs != UNBOUNDED) {
6832 if (maxOccurs < 1) {
6839 xmlSchemaGetPropNode(node, "maxOccurs"),
6842 } else if (minOccurs > maxOccurs) {
6850 "The value must not be greater than the value of 'maxOccurs'");
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
6891 (!xmlStrEqual(attr->name, BAD_CAST "maxOccurs")) &&
6905 * minOccurs/maxOccurs.
6934 * No component if minOccurs==maxOccurs==0.
8432 * of an error or if the particle has minOccurs==maxOccurs==0.
8522 xmlStrEqual(attr->name, BAD_CAST "maxOccurs") ||
8532 "Only the attributes 'minOccurs', 'maxOccurs' and "
8618 if ((!xmlStrEqual(attr->name, BAD_CAST "maxOccurs")) &&
9363 (!xmlStrEqual(attr->name, BAD_CAST "maxOccurs"))) {
9403 * Corresponds to no component at all if minOccurs==maxOccurs==0.
11236 (!xmlStrEqual(attr->name, BAD_CAST "maxOccurs")) &&
11301 if (part->maxOccurs > 1) {
11305 "Invalid value for maxOccurs (must be 0 or 1)",
11308 part->maxOccurs = 1;
11380 ((WXS_PARTICLE(part))->maxOccurs != 1))
11386 * group's minOccurs and maxOccurs [attribute]
11394 "maxOccurs/minOccurs other than 1",
12577 } else if (particle->maxOccurs == 1) {
12609 int maxOccurs = particle->maxOccurs == UNBOUNDED ?
12610 UNBOUNDED : particle->maxOccurs - 1;
12615 maxOccurs);
12670 if (particle->maxOccurs == 1) {
12674 } else if ((particle->maxOccurs >= UNBOUNDED) &&
12684 int maxOccurs = particle->maxOccurs == UNBOUNDED ?
12685 UNBOUNDED : particle->maxOccurs - 1;
12690 counter = xmlAutomataNewCounter(ctxt->am, minOccurs, maxOccurs);
12744 if (particle->maxOccurs == 1) {
12781 int maxOccurs =
12782 particle->maxOccurs == UNBOUNDED ? UNBOUNDED :
12783 particle->maxOccurs - 1;
12787 counter = xmlAutomataNewCounter(pctxt->am, minOccurs, maxOccurs);
12834 if ((particle->minOccurs == 1) && (particle->maxOccurs == 1)) {
12846 if (particle->maxOccurs >= UNBOUNDED) {
12902 } else if ((particle->maxOccurs > 1)
12913 particle->maxOccurs - 1);
12962 if (particle->maxOccurs == 1) {
12975 int maxOccurs = particle->maxOccurs == UNBOUNDED ?
12976 UNBOUNDED : particle->maxOccurs - 1;
12985 xmlAutomataNewCounter(pctxt->am, minOccurs, maxOccurs);
13052 sub->minOccurs, sub->maxOccurs);
13057 (sub->maxOccurs == 1)) {
13064 (sub->maxOccurs == 1)) {
14691 cur = part->maxOccurs;
14700 return (particle->maxOccurs * max);
14712 cur = part->maxOccurs;
14717 if ((cur > 0) && (particle->maxOccurs == UNBOUNDED))
14722 return (particle->maxOccurs * sum);
15093 if ((WXS_TYPE_PARTICLE(typeDef))->maxOccurs != 1) {
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))
18323 * minOccurs/maxOccurs = 1 (i.e. a "particle emptiable").
18480 ((xmlSchemaParticlePtr) type->subtypes)->maxOccurs);
18504 * <sequence> with minOccurs==maxOccurs==1.