Lines Matching defs:uses

167 * Macros for attribute uses.
4332 * @uses: attribute uses list
4338 xmlSchemaAttrUsesDump(xmlSchemaItemListPtr uses, FILE * output)
4347 if ((uses == NULL) || (uses->nbItems == 0))
4351 for (i = 0; i < uses->nbItems; i++) {
4352 use = uses->items[i];
5011 * ATTENTION TODO: This uses pointer comp. for strings.
6218 xmlSchemaItemListPtr uses,
6446 * Parses attribute uses and attribute declarations and
7086 xmlSchemaItemListPtr uses,
7384 if (uses) {
7387 for (i = 0; i < uses->nbItems; i++) {
7388 use = uses->items[i];
7733 * component for the attribute uses of the referenced attribute group
11694 * Attribute uses/declarations.
11839 * Attribute uses/declarations.
14018 xmlSchemaItemListPtr uses,
14028 if (uses != NULL) {
14029 for (i = 0; i < uses->nbItems; i++) {
14030 cur = uses->items[i];
14043 * uses} of the {base type definition} (call this B) whose
14181 * (3) "For each attribute use in the {attribute uses} of the {base type
14185 * uses} of the complex type definition itself whose {required} is true.
14193 if (uses != NULL) {
14194 for (i = 0; i < uses->nbItems; i++) {
14195 cur = uses->items[i];
14308 * Builds the wildcard and the attribute uses on the given complex type.
14311 * ATTENTION TODO: Experimantally this uses pointer comparisons for
14322 xmlSchemaItemListPtr uses, baseUses, prohibs = NULL;
14334 uses = type->attrUses;
14341 if (uses != NULL) {
14348 WXS_BASIC_CAST type, &(type->attributeWildcard), uses,
14358 WXS_BASIC_CAST type, &(type->attributeWildcard), uses,
14367 * Inherit the attribute uses of the base type.
14377 if (uses != NULL)
14378 usesCount = uses->nbItems;
14387 * Filter out prohibited uses.
14401 * Filter out existing uses.
14404 tmp = uses->items[j];
14414 if (uses == NULL) {
14418 uses = type->attrUses;
14420 xmlSchemaItemListAddSize(uses, 2, use);
14427 if (uses == NULL) {
14431 uses = type->attrUses;
14433 xmlSchemaItemListAddSize(uses, baseUses->nbItems, use);
14438 * Shrink attr. uses.
14440 if (uses) {
14441 if (uses->nbItems == 0) {
14442 xmlSchemaItemListFree(uses);
15817 * - attribute uses need to be already inherited (apply attr. prohibitions)
15824 xmlSchemaItemListPtr uses = (xmlSchemaItemListPtr) type->attrUses;
15828 for (i = uses->nbItems -1; i >= 0; i--) {
15829 use = uses->items[i];
15834 * {attribute uses} must not have identical {name}s and
15839 tmp = uses->items[j];
15857 if (xmlSchemaItemListRemove(uses, i) == -1)
15866 * {attribute uses} must not have {type definition}s which
15886 if (xmlSchemaItemListRemove(uses, i) == -1)
16065 * SPEC (1.2) "Its {attribute uses} must be a subset of the {attribute
16066 * uses}
16068 * use in the {attribute uses} of the {base type definition}, there
16069 * must be an attribute use in the {attribute uses} of the complex
16108 "for its {base type}'s %s in its {attribute uses}",
18446 * Now fixup attribute uses:
18449 * - inherit attribute uses of the base type
19044 * @node: the node of the component holding the attribute uses
19046 * @list: the attribute uses
19049 * for their attribute uses. Wilcards are intersected.
19081 * Remove from attribute uses.
19150 * contain any attribute uses.
19160 * Add the attribute uses.
19219 * {attribute uses} property
19223 * for their attribute uses. Wilcards are intersected.
19246 * for their attribute uses. Wilcards are intersected.
19266 xmlSchemaItemListPtr uses = WXS_LIST_CAST attrGr->attrUses;
19270 for (i = uses->nbItems -1; i >= 0; i--) {
19271 use = uses->items[i];
19274 * (2) "Two distinct members of the {attribute uses} must not have
19280 tmp = uses->items[j];
19298 if (xmlSchemaItemListRemove(uses, i) == -1)
19306 * (3) "Two distinct members of the {attribute uses} must not have
19328 if (xmlSchemaItemListRemove(uses, i) == -1)
20570 * (7.2.2) "The {attribute uses} and {attribute wildcard} of
20574 * {attribute uses} and {attribute wildcard} of that attribute
20781 * 3. attributes declarations and attribute uses:
21020 * Apply constraints for attribute uses.
25152 * (3.1) "If there is among the {attribute uses} an attribute
25185 * the {attribute uses} whose {required} is true matches one
25310 * be any attribute uses among the {attribute uses}
25424 * uses the *initial* value.