Lines Matching refs:maxOccurs
677 int maxOccurs; member
4223 if ((elem->minOccurs != 1) || (elem->maxOccurs != 1)) { in xmlSchemaElementDump()
4225 if (elem->maxOccurs >= UNBOUNDED) in xmlSchemaElementDump()
4227 else if (elem->maxOccurs != 1) in xmlSchemaElementDump()
4228 fprintf(output, "max: %d\n", elem->maxOccurs); in xmlSchemaElementDump()
4362 if (particle->maxOccurs >= UNBOUNDED) in xmlSchemaContentModelDump()
4364 else if (particle->maxOccurs != 1) in xmlSchemaContentModelDump()
4365 fprintf(output, " max: %d", particle->maxOccurs); in xmlSchemaContentModelDump()
5562 ret->maxOccurs = max; in xmlSchemaAddParticle()
6879 int maxOccurs) { in xmlSchemaPCheckParticleCorrect_2() argument
6881 if ((maxOccurs == 0) && ( minOccurs == 0)) in xmlSchemaPCheckParticleCorrect_2()
6883 if (maxOccurs != UNBOUNDED) { in xmlSchemaPCheckParticleCorrect_2()
6893 if (maxOccurs < 1) { in xmlSchemaPCheckParticleCorrect_2()
6903 } else if (minOccurs > maxOccurs) { in xmlSchemaPCheckParticleCorrect_2()
11361 if (part->maxOccurs > 1) { in xmlSchemaParseModelGroup()
11368 part->maxOccurs = 1; in xmlSchemaParseModelGroup()
11440 ((WXS_PARTICLE(part))->maxOccurs != 1)) in xmlSchemaParseModelGroup()
12637 } else if (particle->maxOccurs == 1) { in xmlSchemaBuildContentModelForSubstGroup()
12669 int maxOccurs = particle->maxOccurs == UNBOUNDED ? in xmlSchemaBuildContentModelForSubstGroup() local
12670 UNBOUNDED : particle->maxOccurs - 1; in xmlSchemaBuildContentModelForSubstGroup()
12675 maxOccurs); in xmlSchemaBuildContentModelForSubstGroup()
12730 if (particle->maxOccurs == 1) { in xmlSchemaBuildContentModelForElement()
12734 } else if ((particle->maxOccurs >= UNBOUNDED) && in xmlSchemaBuildContentModelForElement()
12744 int maxOccurs = particle->maxOccurs == UNBOUNDED ? in xmlSchemaBuildContentModelForElement() local
12745 UNBOUNDED : particle->maxOccurs - 1; in xmlSchemaBuildContentModelForElement()
12750 counter = xmlAutomataNewCounter(ctxt->am, minOccurs, maxOccurs); in xmlSchemaBuildContentModelForElement()
12804 if (particle->maxOccurs == 1) { in xmlSchemaBuildAContentModel()
12841 int maxOccurs = in xmlSchemaBuildAContentModel() local
12842 particle->maxOccurs == UNBOUNDED ? UNBOUNDED : in xmlSchemaBuildAContentModel()
12843 particle->maxOccurs - 1; in xmlSchemaBuildAContentModel()
12847 counter = xmlAutomataNewCounter(pctxt->am, minOccurs, maxOccurs); in xmlSchemaBuildAContentModel()
12894 if ((particle->minOccurs == 1) && (particle->maxOccurs == 1)) { in xmlSchemaBuildAContentModel()
12906 if (particle->maxOccurs >= UNBOUNDED) { in xmlSchemaBuildAContentModel()
12962 } else if ((particle->maxOccurs > 1) in xmlSchemaBuildAContentModel()
12973 particle->maxOccurs - 1); in xmlSchemaBuildAContentModel()
13031 if (particle->maxOccurs == 1) { in xmlSchemaBuildAContentModel()
13044 int maxOccurs = particle->maxOccurs == UNBOUNDED ? in xmlSchemaBuildAContentModel() local
13045 UNBOUNDED : particle->maxOccurs - 1; in xmlSchemaBuildAContentModel()
13054 xmlAutomataNewCounter(pctxt->am, minOccurs, maxOccurs); in xmlSchemaBuildAContentModel()
13121 sub->minOccurs, sub->maxOccurs); in xmlSchemaBuildAContentModel()
13126 (sub->maxOccurs == 1)) { in xmlSchemaBuildAContentModel()
13133 (sub->maxOccurs == 1)) { in xmlSchemaBuildAContentModel()
14760 cur = part->maxOccurs;
14769 return (particle->maxOccurs * max);
14781 cur = part->maxOccurs;
14786 if ((cur > 0) && (particle->maxOccurs == UNBOUNDED))
14791 return (particle->maxOccurs * sum);
15162 if ((WXS_TYPE_PARTICLE(typeDef))->maxOccurs != 1) { in xmlSchemaResolveTypeReferences()
16866 if (xmlSchemaCheckParticleRangeOK(r->minOccurs, r->maxOccurs, in xmlSchemaCheckRCaseNameAndTypeOK()
16867 b->minOccurs, b->maxOccurs) != 0) in xmlSchemaCheckRCaseNameAndTypeOK()
16970 if (xmlSchemaCheckParticleRangeOK(r->minOccurs, r->maxOccurs, in xmlSchemaCheckRCaseNSCompat()
16971 b->minOccurs, b->maxOccurs) != 0) in xmlSchemaCheckRCaseNSCompat()
17030 if (xmlSchemaCheckParticleRangeOK(r->minOccurs, r->maxOccurs, in xmlSchemaCheckRCaseNSSubset()
17031 b->minOccurs, b->maxOccurs)) in xmlSchemaCheckRCaseNSSubset()
17141 b->minOccurs, b->maxOccurs) != 0)
17182 if (xmlSchemaCheckParticleRangeOK(r->minOccurs, r->maxOccurs, in xmlSchemaCheckRCaseRecurse()
17183 b->minOccurs, b->maxOccurs)) in xmlSchemaCheckRCaseRecurse()
18549 ((xmlSchemaParticlePtr) baseType->subtypes)->maxOccurs); in xmlSchemaFixupComplexType()