Home | History | Annotate | Download | only in libxml2

Lines Matching refs: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.
11223 (!xmlStrEqual(attr->name, BAD_CAST "maxOccurs")) &&
11288 if (part->maxOccurs > 1) {
11292 "Invalid value for maxOccurs (must be 0 or 1)",
11295 part->maxOccurs = 1;
11367 ((WXS_PARTICLE(part))->maxOccurs != 1))
11373 * group's minOccurs and maxOccurs [attribute]
11381 "maxOccurs/minOccurs other than 1",
12558 } else if (particle->maxOccurs == 1) {
12590 int maxOccurs = particle->maxOccurs == UNBOUNDED ?
12591 UNBOUNDED : particle->maxOccurs - 1;
12596 maxOccurs);
12641 if (particle->maxOccurs == 1) {
12645 } else if ((particle->maxOccurs >= UNBOUNDED) &&
12655 int maxOccurs = particle->maxOccurs == UNBOUNDED ?
12656 UNBOUNDED : particle->maxOccurs - 1;
12661 counter = xmlAutomataNewCounter(ctxt->am, minOccurs, maxOccurs);
12709 if (particle->maxOccurs == 1) {
12746 int maxOccurs =
12747 particle->maxOccurs == UNBOUNDED ? UNBOUNDED : particle->maxOccurs - 1;
12751 counter = xmlAutomataNewCounter(pctxt->am, minOccurs, maxOccurs);
12796 if ((particle->minOccurs == 1) && (particle->maxOccurs == 1)) {
12806 if (particle->maxOccurs >= UNBOUNDED) {
12856 } else if ((particle->maxOccurs > 1)
12867 particle->maxOccurs - 1);
12911 if (particle->maxOccurs == 1) {
12923 int maxOccurs = particle->maxOccurs == UNBOUNDED ?
12924 UNBOUNDED : particle->maxOccurs - 1;
12933 xmlAutomataNewCounter(pctxt->am, minOccurs, maxOccurs);
12989 sub->minOccurs, sub->maxOccurs);
12994 (sub->maxOccurs == 1)) {
13001 (sub->maxOccurs == 1)) {
14623 cur = part->maxOccurs;
14632 return (particle->maxOccurs * max);
14644 cur = part->maxOccurs;
14649 if ((cur > 0) && (particle->maxOccurs == UNBOUNDED))
14654 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))
17002 b->minOccurs, b->maxOccurs) != 0)
17043 if (xmlSchemaCheckParticleRangeOK(r->minOccurs, r->maxOccurs,
17044 b->minOccurs, b->maxOccurs))
18253 * minOccurs/maxOccurs = 1 (i.e. a "particle emptiable").
18410 ((xmlSchemaParticlePtr) type->subtypes)->maxOccurs);
18434 * <sequence> with minOccurs==maxOccurs==1.