Token.INTERSECT, new ContentTypeTest(Type.ELEMENT, schemaType, config, true)); computedCardinality = ((ComplexType) contentType).getElementParticleCardinality(childfp, true); ExpressionTool.resetStaticProperties(this); if (computedCardinality == StaticProperty.ALLOWS_ZERO) {
Token.INTERSECT, new ContentTypeTest(Type.ELEMENT, schemaType, config, true)); computedCardinality = ((ComplexType) contentType).getElementParticleCardinality(childfp, true); ExpressionTool.resetStaticProperties(this); if (computedCardinality == StaticProperty.ALLOWS_ZERO) {
Token.INTERSECT, new ContentTypeTest(Type.ELEMENT, schemaType, env.getConfiguration())); computedCardinality = ((ComplexType)contentType).getElementParticleCardinality(childElement, true); visitor.resetStaticProperties(); if (computedCardinality == StaticProperty.ALLOWS_ZERO) {
Token.INTERSECT, new ContentTypeTest(Type.ELEMENT, schemaType, env.getConfiguration())); computedCardinality = ((ComplexType)contentType).getElementParticleCardinality(childElement); visitor.resetStaticProperties(); if (!Cardinality.allowsMany(computedCardinality)) {
Token.INTERSECT, new ContentTypeTest(Type.ELEMENT, schemaType, env.getConfiguration())); computedCardinality = ((ComplexType)contentType).getElementParticleCardinality(childElement); visitor.resetStaticProperties(); if (!Cardinality.allowsMany(computedCardinality)) {