Lines Matching refs:maxOccurs
669 int maxOccurs;
4207 if ((elem->minOccurs != 1) || (elem->maxOccurs != 1)) {
4209 if (elem->maxOccurs >= UNBOUNDED)
4211 else if (elem->maxOccurs != 1)
4212 fprintf(output, "max: %d\n", elem->maxOccurs);
4346 if (particle->maxOccurs >= UNBOUNDED)
4348 else if (particle->maxOccurs != 1)
4349 fprintf(output, " max: %d", particle->maxOccurs);
5512 * @max: the maxOccurs
5541 ret->maxOccurs = max;
6023 * Get the maxOccurs property
6035 attr = xmlSchemaGetPropNode(node, "maxOccurs");
6852 int maxOccurs) {
6854 if ((maxOccurs == 0) && ( minOccurs == 0))
6856 if (maxOccurs != UNBOUNDED) {
6866 if (maxOccurs < 1) {
6873 xmlSchemaGetPropNode(node, "maxOccurs"),
6876 } else if (minOccurs > maxOccurs) {
6884 "The value must not be greater than the value of 'maxOccurs'");
6898 * will be created (except if minOccurs==maxOccurs==0, in this case
6902 * Returns the particle or NULL in case of error or if minOccurs==maxOccurs==0
6925 (!xmlStrEqual(attr->name, BAD_CAST "maxOccurs")) &&
6939 * minOccurs/maxOccurs.
6968 * No component if minOccurs==maxOccurs==0.
8466 * of an error or if the particle has minOccurs==maxOccurs==0.
8556 xmlStrEqual(attr->name, BAD_CAST "maxOccurs") ||
8566 "Only the attributes 'minOccurs', 'maxOccurs' and "
8652 if ((!xmlStrEqual(attr->name, BAD_CAST "maxOccurs")) &&
9397 (!xmlStrEqual(attr->name, BAD_CAST "maxOccurs"))) {
9437 * Corresponds to no component at all if minOccurs==maxOccurs==0.
11270 (!xmlStrEqual(attr->name, BAD_CAST "maxOccurs")) &&
11335 if (part->maxOccurs > 1) {
11339 "Invalid value for maxOccurs (must be 0 or 1)",
11342 part->maxOccurs = 1;
11414 ((WXS_PARTICLE(part))->maxOccurs != 1))
11420 * group's minOccurs and maxOccurs [attribute]
11428 "maxOccurs/minOccurs other than 1",
12611 } else if (particle->maxOccurs == 1) {
12643 int maxOccurs = particle->maxOccurs == UNBOUNDED ?
12644 UNBOUNDED : particle->maxOccurs - 1;
12649 maxOccurs);
12704 if (particle->maxOccurs == 1) {
12708 } else if ((particle->maxOccurs >= UNBOUNDED) &&
12718 int maxOccurs = particle->maxOccurs == UNBOUNDED ?
12719 UNBOUNDED : particle->maxOccurs - 1;
12724 counter = xmlAutomataNewCounter(ctxt->am, minOccurs, maxOccurs);
12778 if (particle->maxOccurs == 1) {
12815 int maxOccurs =
12816 particle->maxOccurs == UNBOUNDED ? UNBOUNDED :
12817 particle->maxOccurs - 1;
12821 counter = xmlAutomataNewCounter(pctxt->am, minOccurs, maxOccurs);
12868 if ((particle->minOccurs == 1) && (particle->maxOccurs == 1)) {
12880 if (particle->maxOccurs >= UNBOUNDED) {
12936 } else if ((particle->maxOccurs > 1)
12947 particle->maxOccurs - 1);
13005 if (particle->maxOccurs == 1) {
13018 int maxOccurs = particle->maxOccurs == UNBOUNDED ?
13019 UNBOUNDED : particle->maxOccurs - 1;
13028 xmlAutomataNewCounter(pctxt->am, minOccurs, maxOccurs);
13095 sub->minOccurs, sub->maxOccurs);
13100 (sub->maxOccurs == 1)) {
13107 (sub->maxOccurs == 1)) {
14734 cur = part->maxOccurs;
14743 return (particle->maxOccurs * max);
14755 cur = part->maxOccurs;
14760 if ((cur > 0) && (particle->maxOccurs == UNBOUNDED))
14765 return (particle->maxOccurs * sum);
15136 if ((WXS_TYPE_PARTICLE(typeDef))->maxOccurs != 1) {
16840 if (xmlSchemaCheckParticleRangeOK(r->minOccurs, r->maxOccurs,
16841 b->minOccurs, b->maxOccurs) != 0)
16944 if (xmlSchemaCheckParticleRangeOK(r->minOccurs, r->maxOccurs,
16945 b->minOccurs, b->maxOccurs) != 0)
17004 if (xmlSchemaCheckParticleRangeOK(r->minOccurs, r->maxOccurs,
17005 b->minOccurs, b->maxOccurs))
17115 b->minOccurs, b->maxOccurs) != 0)
17156 if (xmlSchemaCheckParticleRangeOK(r->minOccurs, r->maxOccurs,
17157 b->minOccurs, b->maxOccurs))
18366 * minOccurs/maxOccurs = 1 (i.e. a "particle emptiable").
18523 ((xmlSchemaParticlePtr) baseType->subtypes)->maxOccurs);
18547 * <sequence> with minOccurs==maxOccurs==1.