Lines Matching refs:typeDef
887 xmlSchemaTypePtr typeDef; /* the complex/simple type definition if any */
946 xmlSchemaTypePtr typeDef; /* the complex/simple type definition if any */
14992 xmlSchemaResolveTypeReferences(xmlSchemaTypePtr typeDef,
14995 if (typeDef == NULL)
15001 if (typeDef->baseType == NULL) {
15002 typeDef->baseType = xmlSchemaGetType(ctxt->schema,
15003 typeDef->base, typeDef->baseNs);
15004 if (typeDef->baseType == NULL) {
15007 WXS_BASIC_CAST typeDef, typeDef->node,
15008 "base", typeDef->base, typeDef->baseNs,
15013 if (WXS_IS_SIMPLE(typeDef)) {
15014 if (WXS_IS_UNION(typeDef)) {
15018 xmlSchemaResolveUnionMemberTypes(ctxt, typeDef);
15020 } else if (WXS_IS_LIST(typeDef)) {
15024 if ((typeDef->subtypes == NULL) && (typeDef->base != NULL)) {
15026 typeDef->subtypes = xmlSchemaGetType(ctxt->schema,
15027 typeDef->base, typeDef->baseNs);
15029 if ((typeDef->subtypes == NULL) ||
15030 (! WXS_IS_SIMPLE(typeDef->subtypes)))
15032 typeDef->subtypes = NULL;
15035 WXS_BASIC_CAST typeDef, typeDef->node,
15036 "itemType", typeDef->base, typeDef->baseNs,
15048 else if ((WXS_TYPE_CONTENTTYPE(typeDef) != NULL) &&
15049 ((WXS_TYPE_CONTENTTYPE(typeDef))->type ==
15051 (WXS_TYPE_PARTICLE_TERM(typeDef) != NULL) &&
15052 ((WXS_TYPE_PARTICLE_TERM(typeDef))->type ==
15056 WXS_QNAME_CAST WXS_TYPE_PARTICLE_TERM(typeDef);
15062 WXS_TYPE_PARTICLE_TERM(typeDef) = NULL;
15071 NULL, WXS_ITEM_NODE(WXS_TYPE_PARTICLE(typeDef)),
15075 WXS_TYPE_CONTENTTYPE(typeDef) = NULL;
15078 WXS_TYPE_CONTENTTYPE(typeDef) = NULL;
15084 WXS_TYPE_PARTICLE_TERM(typeDef) = WXS_MODELGROUPDEF_MODEL(groupDef);
15093 if ((WXS_TYPE_PARTICLE(typeDef))->maxOccurs != 1) {
15097 WXS_ITEM_NODE(WXS_TYPE_PARTICLE(typeDef)), NULL,
19560 xmlSchemaTypePtr typeDef = WXS_ELEM_TYPEDEF(elemDecl);
19625 if (typeDef != WXS_ELEM_TYPEDEF(WXS_SUBST_HEAD(elemDecl))) {
19633 if (xmlSchemaCheckCOSDerivedOK(ACTXT_CAST pctxt, typeDef,
19645 xmlSchemaGetComponentQName(&strA, typeDef),
19662 ((WXS_IS_SIMPLE(typeDef) &&
19663 xmlSchemaIsDerivedFromBuiltInType(typeDef, XML_SCHEMAS_ID)) ||
19664 (WXS_IS_COMPLEX(typeDef) &&
19665 WXS_HAS_SIMPLE_CONTENT(typeDef) &&
19666 xmlSchemaIsDerivedFromBuiltInType(typeDef->contentTypeDef,
19686 if (typeDef == NULL) {
19703 typeDef, elemDecl->value, &(elemDecl->defVal));
22643 xmlSchemaTypePtr type = vctxt->inode->typeDef, simpleType = NULL;
25090 vctxt->inode->typeDef = actualType;
25168 xmlSchemaTypePtr type = vctxt->inode->typeDef;
25246 iattr->typeDef = attrDecl->subtypes;
25289 tmpiattr->typeDef = attrDecl->subtypes;
25366 iattr->typeDef = WXS_ATTR_TYPEDEF(iattr->decl);
25368 iattr->typeDef, XML_SCHEMAS_ID)) {
25443 if (iattr->typeDef == NULL) {
25510 normValue = xmlSchemaNormalizeValue(iattr->typeDef,
25606 iattr->node, iattr->typeDef, iattr->value, &(iattr->val),
25611 iattr->node, iattr->typeDef, iattr->value, NULL,
25823 &(vctxt->inode->typeDef), NULL) == -1) {
25840 vctxt->inode->typeDef =
25866 if WXS_IS_COMPLEX(inode->typeDef) {
25876 if ((! WXS_HAS_SIMPLE_CONTENT(inode->typeDef)) &&
25877 ((! WXS_HAS_MIXED_CONTENT(inode->typeDef)) ||
25878 (! WXS_EMPTIABLE(inode->typeDef)))) {
25899 if (WXS_IS_SIMPLE(inode->typeDef)) {
25902 NULL, inode->typeDef, value, val, 1, 1, 0);
25904 } else if (WXS_HAS_SIMPLE_CONTENT(inode->typeDef)) {
25907 NULL, inode->typeDef->contentTypeDef, value, val, 1, 1, 0);
25995 if ((inode->typeDef == NULL) ||
26007 if ((inode->typeDef->contentType == XML_SCHEMA_CONTENT_MIXED) ||
26008 (inode->typeDef->contentType == XML_SCHEMA_CONTENT_ELEMENTS)) {
26013 if (inode->typeDef->builtInType == XML_SCHEMAS_ANYTYPE)
26025 xmlRegNewExecCtxt(inode->typeDef->contModel,
26075 if (inode->typeDef->contentType == XML_SCHEMA_CONTENT_ELEMENTS)
26091 if (WXS_IS_SIMPLE(inode->typeDef)) {
26093 inode, inode->typeDef, inode->value);
26094 } else if (WXS_HAS_SIMPLE_CONTENT(inode->typeDef)) {
26096 inode, inode->typeDef->contentTypeDef,
26158 if (WXS_IS_SIMPLE(inode->typeDef)) {
26160 inode, inode->typeDef, inode->decl->value);
26161 } else if (WXS_HAS_SIMPLE_CONTENT(inode->typeDef)) {
26163 inode, inode->typeDef->contentTypeDef,
26186 normValue = xmlSchemaNormalizeValue(inode->typeDef,
26207 if (WXS_IS_SIMPLE(inode->typeDef)) {
26217 inode, inode->typeDef, inode->value);
26218 } else if (WXS_HAS_SIMPLE_CONTENT(inode->typeDef)) {
26232 inode, inode->typeDef->contentTypeDef, inode->value);
26269 if (WXS_HAS_MIXED_CONTENT(inode->typeDef)) {
26294 } else if (WXS_HAS_SIMPLE_CONTENT(inode->typeDef)) {
26463 ptype = pielem->typeDef;
26485 &(vctxt->inode->typeDef), NULL);
26506 vctxt->inode->typeDef =
26690 if (vctxt->inode->typeDef->contentType ==
26698 if (vctxt->inode->typeDef->contentType ==
26725 if ((vctxt->inode->typeDef->contentType == XML_SCHEMA_CONTENT_MIXED) &&
26838 (vctxt->inode->typeDef == NULL)) {
26910 if (vctxt->inode->typeDef == NULL) {
26917 if (vctxt->inode->typeDef->flags & XML_SCHEMAS_TYPE_ABSTRACT) {
26941 if (WXS_IS_COMPLEX(vctxt->inode->typeDef)) {
26943 (vctxt->inode->typeDef->attrUses != NULL)) {