Lines Matching refs:children

109 		schema = get_node(doc->children, "schema");  in schema_load_file()
116 …if (ns != NULL && (new_tns == NULL || xmlStrcmp(ns->children->content, new_tns->children->content)… in schema_load_file()
118 …an't import schema from '%s', unexpected 'targetNamespace'='%s'", location, ns->children->content); in schema_load_file()
122 …import schema from '%s', unexpected 'targetNamespace'='%s'", location, new_tns->children->content); in schema_load_file()
128 xmlSetProp(schema, BAD_CAST("targetNamespace"), tns->children->content); in schema_load_file()
130 } else if (tns != NULL && xmlStrcmp(tns->children->content, new_tns->children->content) != 0) { in schema_load_file()
184 trav = schema->children; in load_schema()
197 uri = xmlBuildURI(location->children->content, trav->doc->URL); in load_schema()
199 uri = xmlBuildURI(location->children->content, base); in load_schema()
217 uri = xmlBuildURI(location->children->content, trav->doc->URL); in load_schema()
219 uri = xmlBuildURI(location->children->content, base); in load_schema()
234 if (ns != NULL && tns != NULL && xmlStrcmp(ns->children->content, tns->children->content) == 0) { in load_schema()
236 …s', namespace must not match the enclosing schema 'targetNamespace'", location->children->content); in load_schema()
245 uri = xmlBuildURI(location->children->content, trav->doc->URL); in load_schema()
247 uri = xmlBuildURI(location->children->content, base); in load_schema()
321 newType->name = estrdup((char*)name->children->content); in schema_simpleType()
322 newType->namens = estrdup((char*)ns->children->content); in schema_simpleType()
351 newType->name = estrdup((char*)name->children->content); in schema_simpleType()
352 newType->namens = estrdup((char*)ns->children->content); in schema_simpleType()
365 create_encoder(sdl, cur_type, ns->children->content, name->children->content); in schema_simpleType()
370 trav = simpleType->children; in schema_simpleType()
418 parse_namespace(itemType->children->content, &type, &ns); in schema_list()
441 trav = listType->children; in schema_list()
465 newType->namens = estrdup((char*)tns->children->content); in schema_list()
502 str = estrdup((char*)memberTypes->children->content); in schema_union()
541 trav = unionType->children; in schema_union()
562 newType->namens = estrdup((char*)tns->children->content); in schema_union()
594 trav = simpCompType->children; in schema_simpleContent()
645 parse_namespace(base->children->content, &type, &ns); in schema_restriction_simpleContent()
661 trav = restType->children; in schema_restriction_simpleContent()
750 parse_namespace(base->children->content, &type, &ns); in schema_restriction_complexContent()
761 trav = restType->children; in schema_restriction_complexContent()
814 if (!strncmp((char*)fixed->children->content, "true", sizeof("true")) || in schema_restriction_var_int()
815 !strncmp((char*)fixed->children->content, "1", sizeof("1"))) in schema_restriction_var_int()
824 (*valptr)->value = atoi((char*)value->children->content); in schema_restriction_var_int()
841 if (!strncmp((char*)fixed->children->content, "true", sizeof("true")) || in schema_restriction_var_char()
842 !strncmp((char*)fixed->children->content, "1", sizeof("1"))) { in schema_restriction_var_char()
852 (*valptr)->value = estrdup((char*)value->children->content); in schema_restriction_var_char()
875 parse_namespace(base->children->content, &type, &ns); in schema_extension_simpleContent()
886 trav = extType->children; in schema_extension_simpleContent()
930 parse_namespace(base->children->content, &type, &ns); in schema_extension_complexContent()
941 trav = extType->children; in schema_extension_complexContent()
986 model->min_occurs = atoi((char*)attr->children->content); in schema_min_max()
993 if (!strncmp((char*)attr->children->content, "unbounded", sizeof("unbounded"))) { in schema_min_max()
996 model->max_occurs = atoi((char*)attr->children->content); in schema_min_max()
1029 trav = all->children; in schema_all()
1079 parse_namespace(ref->children->content, &type, &ns); in schema_group()
1089 smart_str_appends(&key, (char*)ns->children->content); in schema_group()
1108 smart_str_appends(&key, (char*)ns->children->content); in schema_group()
1110 smart_str_appends(&key, (char*)name->children->content); in schema_group()
1143 trav = groupType->children; in schema_group()
1205 trav = choiceType->children; in schema_choice()
1255 trav = seqType->children; in schema_sequence()
1317 trav = compCont->children; in schema_complexContent()
1376 newType->name = estrdup((char*)name->children->content); in schema_complexType()
1377 newType->namens = estrdup((char*)ns->children->content); in schema_complexType()
1406 newType->name = estrdup((char*)name->children->content); in schema_complexType()
1407 newType->namens = estrdup((char*)ns->children->content); in schema_complexType()
1412 create_encoder(sdl, cur_type, ns->children->content, name->children->content); in schema_complexType()
1418 trav = compType->children; in schema_complexType()
1514 parse_namespace(ref->children->content, &type, &ns); in schema_element()
1525 smart_str_appends(&nscat, (char*)ns->children->content); in schema_element()
1537 newType->name = estrdup((char*)name->children->content); in schema_element()
1538 newType->namens = estrdup((char*)ns->children->content); in schema_element()
1594 if (!stricmp((char*)attr->children->content, "true") || in schema_element()
1595 !stricmp((char*)attr->children->content, "1")) { in schema_element()
1609 cur_type->fixed = estrdup((char*)attr->children->content); in schema_element()
1617 cur_type->def = estrdup((char*)attr->children->content); in schema_element()
1623 if (strncmp((char*)attr->children->content, "qualified", sizeof("qualified")) == 0) { in schema_element()
1625 } else if (strncmp((char*)attr->children->content, "unqualified", sizeof("unqualified")) == 0) { in schema_element()
1639 if(def == NULL || strncmp((char*)def->children->content, "qualified", sizeof("qualified"))) { in schema_element()
1662 parse_namespace(type->children->content, &cptype, &str_ns); in schema_element()
1671 trav = element->children; in schema_element()
1746 parse_namespace(ref->children->content, &attr_name, &ns); in schema_attribute()
1757 smart_str_appends(&key, (char*)ns->children->content); in schema_attribute()
1774 smart_str_appends(&key, (char*)ns->children->content); in schema_attribute()
1776 newAttr->namens = estrdup((char*)ns->children->content); in schema_attribute()
1778 smart_str_appends(&key, (char*)name->children->content); in schema_attribute()
1810 parse_namespace(type->children->content, &cptype, &str_ns); in schema_attribute()
1822 newAttr->def = estrdup((char*)attr->children->content); in schema_attribute()
1824 newAttr->fixed = estrdup((char*)attr->children->content); in schema_attribute()
1826 if (strncmp((char*)attr->children->content, "qualified", sizeof("qualified")) == 0) { in schema_attribute()
1828 } else if (strncmp((char*)attr->children->content, "unqualified", sizeof("unqualified")) == 0) { in schema_attribute()
1836 newAttr->name = estrdup((char*)attr->children->content); in schema_attribute()
1842 if (strncmp((char*)attr->children->content, "prohibited", sizeof("prohibited")) == 0) { in schema_attribute()
1844 } else if (strncmp((char*)attr->children->content, "required", sizeof("required")) == 0) { in schema_attribute()
1846 } else if (strncmp((char*)attr->children->content, "optional", sizeof("optional")) == 0) { in schema_attribute()
1862 parse_namespace(attr->children->content, &value, &ns); in schema_attribute()
1868 ext->val = estrdup((char*)attr->children->content); in schema_attribute()
1894 if(def == NULL || strncmp((char*)def->children->content, "qualified", sizeof("qualified"))) { in schema_attribute()
1907 trav = attrType->children; in schema_attribute()
1933 dummy_type->namens = estrdup((char*)tns->children->content); in schema_attribute()
1969 newType->name = estrdup((char*)name->children->content); in schema_attributeGroup()
1970 newType->namens = estrdup((char*)ns->children->content); in schema_attributeGroup()
1995 parse_namespace(ref->children->content, &group_name, &ns); in schema_attributeGroup()
2015 trav = attrGroup->children; in schema_attributeGroup()