Lines Matching defs:ref
16 * need to validate all schema attributes (ref, type, name)
521 * The attr. decl. OR a QName-ref. to an attr. decl. OR
522 * a QName-ref. to an attribute group definition.
746 xmlSchemaQNameRefPtr ref;
1364 xmlSchemaGetQNameRefName(void *ref)
1366 return(((xmlSchemaQNameRefPtr) ref)->name);
1370 xmlSchemaGetQNameRefTargetNs(void *ref)
1372 return(((xmlSchemaQNameRefPtr) ref)->targetNamespace);
4363 xmlSchemaQNameRefPtr ref;
4381 ref = (xmlSchemaQNameRefPtr) use;
4382 name = ref->name;
4383 tns = ref->targetNamespace;
7125 attr = xmlSchemaGetPropNode(node, "ref");
7146 } else if (xmlStrEqual(attr->name, BAD_CAST "ref")) {
7324 xmlSchemaQNameRefPtr ref;
7340 ref = xmlSchemaNewQNameRef(pctxt, XML_SCHEMA_TYPE_ATTRIBUTE,
7342 if (ref == NULL)
7348 use->attrDecl = WXS_ATTR_CAST ref;
7454 * If ref is present, then all of <simpleType>,
7513 * One of ref or name must be present, but not both
7654 const xmlChar *refNs = NULL, *ref = NULL;
7659 attr = xmlSchemaGetPropNode(node, "ref");
7663 NULL, node, "ref", NULL);
7667 NULL, attr, &refNs, &ref);
7677 if ((!xmlStrEqual(attr->name, BAD_CAST "ref")) &&
7716 (ref == pctxt->redef->refName) &&
7722 * the `actual value` of whose ref [attribute] is the same
7734 xmlSchemaFormatQName(&str, refNs, ref), NULL);
7744 XML_SCHEMA_TYPE_ATTRIBUTEGROUP, ref, refNs);
7756 XML_SCHEMA_TYPE_ATTRIBUTEGROUP, ref, refNs);
8373 item->ref = xmlSchemaNewQNameRef(ctxt, XML_SCHEMA_TYPE_IDC_KEY,
8375 if (item->ref == NULL)
8379 &(item->ref->targetNamespace),
8380 &(item->ref->name));
8382 item->ref->targetNamespace);
8476 * If we get a "ref" attribute on a local <element> we will assume it's
8481 attr = xmlSchemaGetPropNode(node, "ref");
8516 const xmlChar *refNs = NULL, *ref = NULL;
8525 NULL, attr, &refNs, &ref);
8528 * SPEC (3.3.3 : 2.1) "One of ref or name must be present, but not both"
8532 XML_SCHEMAP_SRC_ELEMENT_2_1, NULL, nameAttr, "ref", "name");
8540 if (xmlStrEqual(attr->name, BAD_CAST "ref") ||
8554 "'id' are allowed in addition to 'ref'");
8576 ref, refNs);
8903 xmlSchemaQNameRefPtr ref;
8938 ref = xmlSchemaNewQNameRef(ctxt, XML_SCHEMA_TYPE_SIMPLE,
8940 if (ref == NULL) {
8948 link->type = (xmlSchemaTypePtr) ref;
9064 * Attribute "itemType". NOTE that we will use the "ref" and "refNs"
9068 * the "ref" fields.
9355 const xmlChar *ref = NULL, *refNs = NULL;
9361 attr = xmlSchemaGetPropNode(node, "ref");
9365 NULL, node, "ref", NULL);
9368 attr, &refNs, &ref) != 0) {
9381 if ((!xmlStrEqual(attr->name, BAD_CAST "ref")) &&
9403 xmlSchemaNewQNameRef(ctxt, XML_SCHEMA_TYPE_GROUP, ref, refNs);
11380 * some level the `actual value` of whose ref
15085 xmlSchemaQNameRefPtr ref =
15098 ref->itemType, ref->name, ref->targetNamespace);
15102 "ref", ref->name, ref->targetNamespace, ref->itemType,
19044 xmlSchemaQNameRefPtr ref, circ;
19051 ref = list->items[i];
19052 if ((ref->type == XML_SCHEMA_EXTRA_QNAMEREF) &&
19053 (ref->itemType == XML_SCHEMA_TYPE_ATTRIBUTEGROUP) &&
19054 (ref->item != NULL))
19056 gr = WXS_ATTR_GROUP_CAST ref->item;
19058 return(ref);
19099 * not be an <attributeGroup> with ref [attribute] which resolves
19103 * any <attributeGroup>s with a ref [attribute] among the [children],
19451 xmlSchemaResolveAttrGroupReferences(xmlSchemaQNameRefPtr ref,
19456 if (ref->item != NULL)
19459 ref->name,
19460 ref->targetNamespace);
19464 NULL, ref->node,
19465 "ref", ref->name, ref->targetNamespace,
19466 ref->itemType, NULL);
19469 ref->item = WXS_BASIC_CAST group;
20023 xmlSchemaQNameRefPtr ref;
20036 ref = WXS_QNAME_CAST WXS_PARTICLE_TERM(particle);
20044 ref->itemType, ref->name, ref->targetNamespace);
20047 NULL, WXS_ITEM_NODE(particle), "ref", ref->name,
20048 ref->targetNamespace, ref->itemType, NULL);
20176 xmlSchemaQNameRefPtr ref = WXS_QNAME_CAST ause->attrDecl;
20183 ref->name, ref->targetNamespace);
20188 "ref", ref->name, ref->targetNamespace,
20369 if (idc->ref->name != NULL) {
20370 idc->ref
20371 xmlSchemaGetIDC(pctxt->schema, idc->ref->name,
20372 idc->ref->targetNamespace);
20373 if (idc->ref->item == NULL) {
20381 "refer", idc->ref->name,
20382 idc->ref->targetNamespace,
20385 } else if (idc->ref->item->type == XML_SCHEMA_TYPE_IDC_KEYREF) {
20394 idc->ref->item = NULL;
20398 ((xmlSchemaIDCPtr) idc->ref->item)->nbFields) {
20402 refer = (xmlSchemaIDCPtr) idc->ref->item;
20435 "ref", prohib->name, prohib->targetNamespace,
20892 * 7. Attribute prohibitions which had a "ref" attribute.
20944 * "ref" attribute.
23206 refIdc = (xmlSchemaIDCPtr) idc->ref->item;
23808 if ((xmlSchemaIDCPtr) matcher->aidc->def->ref->item ==