• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/libxml/

Lines Matching defs:use

15  *   - if we don't intend to use the schema for schemas, we
325 * use pointer comparison for those values.
519 xmlSchemaAttributeUsePtr next; /* The next attr. use. */
602 xmlSchemaPtr schema; /* The main schema in use */
950 xmlSchemaAttributeUsePtr use; /* the attribute use */
971 xmlSchemaPtr schema; /* The schema in use */
1124 return(BAD_CAST "attribute use");
1155 return(BAD_CAST "[helper component] attribute use prohibition");
1639 *buf = xmlStrdup(BAD_CAST "attribute use ");
2957 * Reports an attribute use error during parsing.
3729 * @use: an attribute use
3731 * Deallocates an attribute use structure.
3734 xmlSchemaFreeAttributeUse(xmlSchemaAttributeUsePtr use)
3736 if (use == NULL)
3738 if (use->annot != NULL)
3739 xmlSchemaFreeAnnot(use->annot);
3740 if (use->defVal != NULL)
3741 xmlSchemaFreeValue(use->defVal);
3742 xmlFree(use);
3747 * @prohib: an attribute use prohibition
3749 * Deallocates an attribute use structure.
4335 * Dumps a list of attribute use components.
4340 xmlSchemaAttributeUsePtr use;
4352 use = uses->items[i];
4353 if (use->type == XML_SCHEMA_EXTRA_ATTR_USE_PROHIB) {
4355 prohib = (xmlSchemaAttributeUseProhibPtr) use;
4358 } else if (use->type == XML_SCHEMA_EXTRA_QNAMEREF) {
4360 ref = (xmlSchemaQNameRefPtr) use;
4364 fprintf(output, " [use] ");
4365 name = WXS_ATTRUSE_DECL_NAME(use);
4366 tns = WXS_ATTRUSE_DECL_TNS(use);
5421 "allocating attribute use prohibition", NULL);
6280 * TODO: Should we use the S4S error codes instead?
7088 xmlSchemaAttributeUsePtr use = NULL;
7158 if (xmlStrEqual(attr->name, BAD_CAST "use")) {
7216 * If default and use are both present, use must have
7225 "The value of the attribute 'use' must be 'optional' "
7277 * Create the attribute use component.
7279 use = xmlSchemaAddAttributeUse(pctxt, node);
7280 if (use == NULL)
7282 use->occurs = occurs;
7293 use->attrDecl = attrDecl;
7306 * Create the attribute use component.
7308 use = xmlSchemaAddAttributeUse(pctxt, node);
7309 if (use == NULL)
7314 WXS_ADD_PENDING(pctxt, use);
7315 use->occurs = occurs;
7327 use->attrDecl = WXS_ATTR_CAST ref;
7332 use->defValue = defValue;
7334 use->flags |= XML_SCHEMA_ATTR_USE_FIXED;
7362 "Skipping attribute use prohibition, since it is "
7370 "Skipping attribute use prohibition, since it is "
7386 use = uses->items[i];
7387 if ((use->type == XML_SCHEMA_EXTRA_ATTR_USE_PROHIB) &&
7388 (tmpName == (WXS_ATTR_PROHIB_CAST use)->name) &&
7389 (tmpNs == (WXS_ATTR_PROHIB_CAST use)->targetNamespace))
7396 "Skipping duplicate attribute use prohibition '%s'",
7425 use->annot = xmlSchemaParseAnnotation(pctxt, child, 1);
7448 if (WXS_ATTRUSE_DECL(use)->typeName != NULL) {
7458 WXS_ATTRUSE_TYPEDEF(use) =
7468 return (WXS_BASIC_CAST use);
9043 * Attribute "itemType". NOTE that we will use the "ref" and "refNs"
10374 * We will use the first <import> that comes with a location.
10742 * Note that it is important to use the original @targetNamespace
11027 "trying to use an already parsed schema for a "
12921 * use a counter to keep track of the number of transtions
13143 * NOTE that now we use the "refDecl" field for this.
14032 * (2.1) "If there is an attribute use in the {attribute
14051 "The 'optional' attribute use is inconsistent "
14052 "with the corresponding 'required' attribute use of "
14092 * constraint of an attribute use be its {value
14126 "attribute use is inconsistent with "
14158 "Neither a matching attribute use, "
14171 * (3) "For each attribute use in the {attribute uses} of the {base type
14173 * use with an {attribute declaration} with the same {name} and
14201 "A matching attribute use for the "
14311 xmlSchemaAttributeUsePtr use;
14374 use = baseUses->items[i];
14381 if ((WXS_ATTRUSE_DECL_NAME(use) == pro->name) &&
14382 (WXS_ATTRUSE_DECL_TNS(use) ==
14395 if ((WXS_ATTRUSE_DECL_NAME(use) ==
14397 (WXS_ATTRUSE_DECL_TNS(use) ==
14410 xmlSchemaItemListAddSize(uses, 2, use);
14416 use = baseUses->items[i];
14423 xmlSchemaItemListAddSize(uses, baseUses->nbItems, use);
15815 xmlSchemaAttributeUsePtr use, tmp;
15819 use = uses->items[i];
15830 if ((WXS_ATTRUSE_DECL_NAME(use) ==
15832 (WXS_ATTRUSE_DECL_TNS(use) ==
15841 xmlSchemaGetComponentDesignation(&str, use),
15859 if (WXS_ATTRUSE_TYPEDEF(use) != NULL) {
15861 WXS_ATTRUSE_TYPEDEF(use), XML_SCHEMAS_ID))
15873 xmlSchemaGetComponentDesignation(&str, use),
16058 * use in the {attribute uses} of the {base type definition}, there
16059 * must be an attribute use in the {attribute uses} of the complex
16066 xmlSchemaAttributeUsePtr use, buse;
16072 use = (WXS_LIST_CAST type->attrUses)->items[j];
16075 if ((WXS_ATTRUSE_DECL_NAME(use) ==
16077 (WXS_ATTRUSE_DECL_TNS(use) ==
16079 (WXS_ATTRUSE_TYPEDEF(use) ==
17566 * for validation, plus we need to use the base type of those
17879 * use a lookup function to access them instead.
18127 * We will use the same node as for the <complexType>
18441 * - apply attr. use prohibitions if restricting
18732 * NOTE: It is intended to use the facets list, instead
19040 * Attribute use prohibitions are removed from the list
19053 xmlSchemaAttributeUsePtr use;
19062 use = list->items[i];
19064 if (use->type == XML_SCHEMA_EXTRA_ATTR_USE_PROHIB) {
19083 xmlSchemaItemListAddSize(prohibs, 2, use);
19086 if ((use->type == XML_SCHEMA_EXTRA_QNAMEREF) &&
19087 ((WXS_QNAME_CAST use)->itemType == XML_SCHEMA_TYPE_ATTRIBUTEGROUP))
19089 if ((WXS_QNAME_CAST use)->item == NULL)
19091 gr = WXS_ATTR_GROUP_CAST (WXS_QNAME_CAST use)->item;
19175 use = list->items[j];
19177 if ((prohib->name == WXS_ATTRUSE_DECL_NAME(use)) &&
19178 (prohib->targetNamespace == WXS_ATTRUSE_DECL_TNS(use)))
19185 "Skipping pointless attribute use prohibition "
19186 "'%s', since a corresponding attribute use "
19259 xmlSchemaAttributeUsePtr use, tmp;
19263 use = uses->items[i];
19273 if ((WXS_ATTRUSE_DECL_NAME(use) ==
19275 (WXS_ATTRUSE_DECL_TNS(use) ==
19284 xmlSchemaGetComponentDesignation(&str, use),
19303 if (WXS_ATTRUSE_TYPEDEF(use) != NULL) {
19305 WXS_ATTRUSE_TYPEDEF(use), XML_SCHEMAS_ID))
19317 xmlSchemaGetComponentDesignation(&str, use),
19365 * @item: an schema attribute declaration/use
19373 * Validates the value constraints of an attribute declaration/use.
19578 * Note: The use of ID as a type definition for elements goes beyond
20050 * @item: an attribute use
20089 * @use: an attribute use
20097 xmlSchemaAttributeUsePtr use)
20099 if ((ctxt == NULL) || (use == NULL))
20101 if ((use->defValue == NULL) || (WXS_ATTRUSE_DECL(use) == NULL) ||
20102 ((WXS_ATTRUSE_DECL(use))->type != XML_SCHEMA_TYPE_ATTRIBUTE))
20107 * "The values of the properties of an attribute use must be as
20113 if (((WXS_ATTRUSE_DECL(use))->defValue != NULL) &&
20114 ((WXS_ATTRUSE_DECL(use))->flags & XML_SCHEMAS_ATTR_FIXED) &&
20115 ((use->flags & XML_SCHEMA_ATTR_USE_FIXED) == 0))
20119 WXS_BASIC_CAST use, NULL,
20121 ", thus the attribute use must also have a 'fixed' value "
20129 if ((use->defVal != NULL) && (WXS_ATTRUSE_TYPEDEF(use) != NULL)) {
20133 * value constraint of the attribute use. We will do it here.
20139 WXS_ATTRUSE_TYPEDEF(use), XML_SCHEMAS_ID))
20143 NULL, WXS_BASIC_CAST use,
20151 use->node, WXS_ATTRUSE_TYPEDEF(use),
20152 use->defValue, &(use->defVal),
20162 NULL, WXS_BASIC_CAST use,
20171 * {value constraint}, then if the attribute use itself has a
20175 if (((WXS_ATTRUSE_DECL(use))->defVal != NULL) &&
20176 (((WXS_ATTRUSE_DECL(use))->flags & XML_SCHEMA_ATTR_USE_FIXED) == 0))
20178 if (! xmlSchemaAreValuesEqual(use->defVal,
20179 (WXS_ATTRUSE_DECL(use))->defVal))
20183 WXS_BASIC_CAST use, NULL,
20184 "The 'fixed' value constraint of the attribute use "
20187 (WXS_ATTRUSE_DECL(use))->defValue);
20384 * Note that, if we are redefining with the use of references
20775 * - if an attribute use, then the attribute declaration
21660 count++; /* TODO: Don't use the schema's dict. */
21687 count++; /* TODO: Don't use the schema's dict. */
24075 * anySimpleType based types), then use the provided
25131 * use with an {attribute declaration} whose {name} matches
25137 * to that attribute use as per Attribute Locally Valid (Use)
25139 * attribute use is the �context-determined declaration� for the
25145 iattr->use = attrUse;
25162 * (4) "The {attribute declaration} of each attribute use in
25175 tmpiattr->use = attrUse;
25191 tmpiattr->use = attrUse;
25375 if (iattr->use->defValue != NULL) {
25376 iattr->value = (xmlChar *) iattr->use->defValue;
25377 iattr->val = iattr->use->defVal;
25388 "default/fixed value on an attribute use was "
25401 * VAL TODO: Should we use the *normalized* value? This currently
25484 * Note that the attribute *use* can be unavailable, if
25488 ((iattr->use != NULL) &&
25489 (iattr->use->flags & XML_SCHEMAS_ATTR_FIXED)))
25536 * with respect to an attribute use its *normalized*
25538 * representation of the attribute use's {value
25554 if ((iattr->use != NULL) &&
25555 (iattr->use->defValue != NULL)) {
25556 if (iattr->use->defVal == NULL) {
25561 iattr->vcValue = iattr->use->defValue;
25565 attr->use->defVal,
25568 if (! xmlSchemaAreValuesEqual(iattr->val, iattr->use->defVal))
27182 * we have no access to it, so we'll use an own one.
28407 * Note that we use the same text-function for both, to prevent
28469 * Note that we use the same text-function for ignorableWhitespace
28535 * @input: the input to use for reading the data
28626 * Do a schemas validation of the given resource, it will use the