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
5509 ret->maxOccurs = max;
5991 * Get the maxOccurs property
6003 attr = xmlSchemaGetPropNode(node, "maxOccurs");
6820 int maxOccurs) {
6822 if ((maxOccurs == 0) && ( minOccurs == 0))
6824 if (maxOccurs != UNBOUNDED) {
6834 if (maxOccurs < 1) {
6841 xmlSchemaGetPropNode(node, "maxOccurs"),
6844 } else if (minOccurs > maxOccurs) {
6852 "The value must not be greater than the value of 'maxOccurs'");
6866 * will be created (except if minOccurs==maxOccurs==0, in this case
6870 * Returns the particle or NULL in case of error or if minOccurs==maxOccurs==0
6893 (!xmlStrEqual(attr->name, BAD_CAST "maxOccurs")) &&
6907 * minOccurs/maxOccurs.
6936 * No component if minOccurs==maxOccurs==0.
8434 * of an error or if the particle has minOccurs==maxOccurs==0.
8524 xmlStrEqual(attr->name, BAD_CAST "maxOccurs") ||
8534 "Only the attributes 'minOccurs', 'maxOccurs' and "
8620 if ((!xmlStrEqual(attr->name, BAD_CAST "maxOccurs")) &&
9365 (!xmlStrEqual(attr->name, BAD_CAST "maxOccurs"))) {
9405 * Corresponds to no component at all if minOccurs==maxOccurs==0.
11225 (!xmlStrEqual(attr->name, BAD_CAST "maxOccurs")) &&
11290 if (part->maxOccurs > 1) {
11294 "Invalid value for maxOccurs (must be 0 or 1)",
11297 part->maxOccurs = 1;
11369 ((WXS_PARTICLE(part))->maxOccurs != 1))
11375 * group's minOccurs and maxOccurs [attribute]
11383 "maxOccurs/minOccurs other than 1",
12560 } else if (particle->maxOccurs == 1) {
12592 int maxOccurs = particle->maxOccurs == UNBOUNDED ?
12593 UNBOUNDED : particle->maxOccurs - 1;
12598 maxOccurs);
12643 if (particle->maxOccurs == 1) {
12647 } else if ((particle->maxOccurs >= UNBOUNDED) &&
12657 int maxOccurs = particle->maxOccurs == UNBOUNDED ?
12658 UNBOUNDED : particle->maxOccurs - 1;
12663 counter = xmlAutomataNewCounter(ctxt->am, minOccurs, maxOccurs);
12711 if (particle->maxOccurs == 1) {
12748 int maxOccurs =
12749 particle->maxOccurs == UNBOUNDED ? UNBOUNDED : particle->maxOccurs - 1;
12753 counter = xmlAutomataNewCounter(pctxt->am, minOccurs, maxOccurs);
12798 if ((particle->minOccurs == 1) && (particle->maxOccurs == 1)) {
12808 if (particle->maxOccurs >= UNBOUNDED) {
12858 } else if ((particle->maxOccurs > 1)
12869 particle->maxOccurs - 1);
12913 if (particle->maxOccurs == 1) {
12925 int maxOccurs = particle->maxOccurs == UNBOUNDED ?
12926 UNBOUNDED : particle->maxOccurs - 1;
12935 xmlAutomataNewCounter(pctxt->am, minOccurs, maxOccurs);
12991 sub->minOccurs, sub->maxOccurs);
12996 (sub->maxOccurs == 1)) {
13003 (sub->maxOccurs == 1)) {
14624 cur = part->maxOccurs;
14633 return (particle->maxOccurs * max);
14645 cur = part->maxOccurs;
14650 if ((cur > 0) && (particle->maxOccurs == UNBOUNDED))
14655 return (particle->maxOccurs * sum);
15025 if ((WXS_TYPE_PARTICLE(typeDef))->maxOccurs != 1) {
16727 if (xmlSchemaCheckParticleRangeOK(r->minOccurs, r->maxOccurs,
16728 b->minOccurs, b->maxOccurs) != 0)
16831 if (xmlSchemaCheckParticleRangeOK(r->minOccurs, r->maxOccurs,
16832 b->minOccurs, b->maxOccurs) != 0)
16891 if (xmlSchemaCheckParticleRangeOK(r->minOccurs, r->maxOccurs,
16892 b->minOccurs, b->maxOccurs))
17001 b->minOccurs, b->maxOccurs) != 0)
17041 if (xmlSchemaCheckParticleRangeOK(r->minOccurs, r->maxOccurs,
17042 b->minOccurs, b->maxOccurs))
18251 * minOccurs/maxOccurs = 1 (i.e. a "particle emptiable").
18408 ((xmlSchemaParticlePtr) type->subtypes)->maxOccurs);
18432 * <sequence> with minOccurs==maxOccurs==1.