Home | History | Annotate | Download | only in libxml2

Lines Matching refs:maxOccurs

669     int maxOccurs;
4194 if ((elem->minOccurs != 1) || (elem->maxOccurs != 1)) {
4196 if (elem->maxOccurs >= UNBOUNDED)
4198 else if (elem->maxOccurs != 1)
4199 fprintf(output, "max: %d\n", elem->maxOccurs);
4333 if (particle->maxOccurs >= UNBOUNDED)
4335 else if (particle->maxOccurs != 1)
4336 fprintf(output, " max: %d", particle->maxOccurs);
5499 * @max: the maxOccurs
5528 ret->maxOccurs = max;
6010 * Get the maxOccurs property
6022 attr = xmlSchemaGetPropNode(node, "maxOccurs");
6839 int maxOccurs) {
6841 if ((maxOccurs == 0) && ( minOccurs == 0))
6843 if (maxOccurs != UNBOUNDED) {
6853 if (maxOccurs < 1) {
6860 xmlSchemaGetPropNode(node, "maxOccurs"),
6863 } else if (minOccurs > maxOccurs) {
6871 "The value must not be greater than the value of 'maxOccurs'");
6885 * will be created (except if minOccurs==maxOccurs==0, in this case
6889 * Returns the particle or NULL in case of error or if minOccurs==maxOccurs==0
6912 (!xmlStrEqual(attr->name, BAD_CAST "maxOccurs")) &&
6926 * minOccurs/maxOccurs.
6955 * No component if minOccurs==maxOccurs==0.
8453 * of an error or if the particle has minOccurs==maxOccurs==0.
8543 xmlStrEqual(attr->name, BAD_CAST "maxOccurs") ||
8553 "Only the attributes 'minOccurs', 'maxOccurs' and "
8639 if ((!xmlStrEqual(attr->name, BAD_CAST "maxOccurs")) &&
9384 (!xmlStrEqual(attr->name, BAD_CAST "maxOccurs"))) {
9424 * Corresponds to no component at all if minOccurs==maxOccurs==0.
11257 (!xmlStrEqual(attr->name, BAD_CAST "maxOccurs")) &&
11322 if (part->maxOccurs > 1) {
11326 "Invalid value for maxOccurs (must be 0 or 1)",
11329 part->maxOccurs = 1;
11401 ((WXS_PARTICLE(part))->maxOccurs != 1))
11407 * group's minOccurs and maxOccurs [attribute]
11415 "maxOccurs/minOccurs other than 1",
12598 } else if (particle->maxOccurs == 1) {
12630 int maxOccurs = particle->maxOccurs == UNBOUNDED ?
12631 UNBOUNDED : particle->maxOccurs - 1;
12636 maxOccurs);
12691 if (particle->maxOccurs == 1) {
12695 } else if ((particle->maxOccurs >= UNBOUNDED) &&
12705 int maxOccurs = particle->maxOccurs == UNBOUNDED ?
12706 UNBOUNDED : particle->maxOccurs - 1;
12711 counter = xmlAutomataNewCounter(ctxt->am, minOccurs, maxOccurs);
12765 if (particle->maxOccurs == 1) {
12802 int maxOccurs =
12803 particle->maxOccurs == UNBOUNDED ? UNBOUNDED :
12804 particle->maxOccurs - 1;
12808 counter = xmlAutomataNewCounter(pctxt->am, minOccurs, maxOccurs);
12855 if ((particle->minOccurs == 1) && (particle->maxOccurs == 1)) {
12867 if (particle->maxOccurs >= UNBOUNDED) {
12923 } else if ((particle->maxOccurs > 1)
12934 particle->maxOccurs - 1);
12992 if (particle->maxOccurs == 1) {
13005 int maxOccurs = particle->maxOccurs == UNBOUNDED ?
13006 UNBOUNDED : particle->maxOccurs - 1;
13015 xmlAutomataNewCounter(pctxt->am, minOccurs, maxOccurs);
13082 sub->minOccurs, sub->maxOccurs);
13087 (sub->maxOccurs == 1)) {
13094 (sub->maxOccurs == 1)) {
14721 cur = part->maxOccurs;
14730 return (particle->maxOccurs * max);
14742 cur = part->maxOccurs;
14747 if ((cur > 0) && (particle->maxOccurs == UNBOUNDED))
14752 return (particle->maxOccurs * sum);
15123 if ((WXS_TYPE_PARTICLE(typeDef))->maxOccurs != 1) {
16827 if (xmlSchemaCheckParticleRangeOK(r->minOccurs, r->maxOccurs,
16828 b->minOccurs, b->maxOccurs) != 0)
16931 if (xmlSchemaCheckParticleRangeOK(r->minOccurs, r->maxOccurs,
16932 b->minOccurs, b->maxOccurs) != 0)
16991 if (xmlSchemaCheckParticleRangeOK(r->minOccurs, r->maxOccurs,
16992 maxOccurs))
17102 b->minOccurs, b->maxOccurs) != 0)
17143 if (xmlSchemaCheckParticleRangeOK(r->minOccurs, r->maxOccurs,
17144 b->minOccurs, b->maxOccurs))
18353 * minOccurs/maxOccurs = 1 (i.e. a "particle emptiable").
18510 ((xmlSchemaParticlePtr) baseType->subtypes)->maxOccurs);
18534 * <sequence> with minOccurs==maxOccurs==1.