Lines Matching refs:children

123 		schema = get_node(doc->children, "schema");  in schema_load_file()
131 …if (ns != NULL && (new_tns == NULL || xmlStrcmp(ns->children->content, new_tns->children->content)… in schema_load_file()
135 …port schema from '%s', missing 'targetNamespace', expected '%s'", location, ns->children->content); in schema_load_file()
138 const char *target_ns_copy = estrdup((const char *) new_tns->children->content); in schema_load_file()
140 …nexpected 'targetNamespace'='%s', expected '%s'", location, target_ns_copy, ns->children->content); in schema_load_file()
146 const char *target_ns_copy = estrdup((const char *) new_tns->children->content); in schema_load_file()
154 xmlSetProp(schema, BAD_CAST("targetNamespace"), tns->children->content); in schema_load_file()
156 } else if (tns != NULL && xmlStrcmp(tns->children->content, new_tns->children->content) != 0) { in schema_load_file()
174 uri = xmlBuildURI(attribute->children->content, attribute->doc->URL); in schema_location_construct_uri()
176 uri = xmlBuildURI(attribute->children->content, base); in schema_location_construct_uri()
227 trav = schema->children; in load_schema()
261 if (ns != NULL && tns != NULL && xmlStrcmp(ns->children->content, tns->children->content) == 0) { in load_schema()
263 …s', namespace must not match the enclosing schema 'targetNamespace'", location->children->content); in load_schema()
341 newType->name = estrdup((char*)name->children->content); in schema_simpleType()
342 newType->namens = estrdup((char*)ns->children->content); in schema_simpleType()
374 newType->name = estrdup((char*)name->children->content); in schema_simpleType()
375 newType->namens = estrdup((char*)ns->children->content); in schema_simpleType()
388 create_encoder(sdl, cur_type, ns->children->content, name->children->content); in schema_simpleType()
393 trav = simpleType->children; in schema_simpleType()
442 parse_namespace(itemType->children->content, &type, &ns); in schema_list()
464 trav = listType->children; in schema_list()
488 newType->namens = estrdup((char*)tns->children->content); in schema_list()
526 str = estrdup((char*)memberTypes->children->content); in schema_union()
564 trav = unionType->children; in schema_union()
585 newType->namens = estrdup((char*)tns->children->content); in schema_union()
617 trav = simpCompType->children; in schema_simpleContent()
669 parse_namespace(base->children->content, &type, &ns); in schema_restriction_simpleContent()
684 trav = restType->children; in schema_restriction_simpleContent()
774 parse_namespace(base->children->content, &type, &ns); in schema_restriction_complexContent()
784 trav = restType->children; in schema_restriction_complexContent()
837 if (!strncmp((char*)fixed->children->content, "true", sizeof("true")) || in schema_restriction_var_int()
838 !strncmp((char*)fixed->children->content, "1", sizeof("1"))) in schema_restriction_var_int()
847 (*valptr)->value = atoi((char*)value->children->content); in schema_restriction_var_int()
864 if (!strncmp((char*)fixed->children->content, "true", sizeof("true")) || in schema_restriction_var_char()
865 !strncmp((char*)fixed->children->content, "1", sizeof("1"))) { in schema_restriction_var_char()
875 (*valptr)->value = estrdup((char*)value->children->content); in schema_restriction_var_char()
899 parse_namespace(base->children->content, &type, &ns); in schema_extension_simpleContent()
909 trav = extType->children; in schema_extension_simpleContent()
954 parse_namespace(base->children->content, &type, &ns); in schema_extension_complexContent()
964 trav = extType->children; in schema_extension_complexContent()
1009 model->min_occurs = atoi((char*)attr->children->content); in schema_min_max()
1016 if (!strncmp((char*)attr->children->content, "unbounded", sizeof("unbounded"))) { in schema_min_max()
1019 model->max_occurs = atoi((char*)attr->children->content); in schema_min_max()
1052 trav = all->children; in schema_all()
1103 parse_namespace(ref->children->content, &type, &ns); in schema_group()
1113 smart_str_appends(&key, (char*)ns->children->content); in schema_group()
1131 smart_str_appends(&key, (char*)ns->children->content); in schema_group()
1133 smart_str_appends(&key, (char*)name->children->content); in schema_group()
1166 trav = groupType->children; in schema_group()
1228 trav = choiceType->children; in schema_choice()
1278 trav = seqType->children; in schema_sequence()
1340 trav = compCont->children; in schema_complexContent()
1399 newType->name = estrdup((char*)name->children->content); in schema_complexType()
1400 newType->namens = estrdup((char*)ns->children->content); in schema_complexType()
1432 newType->name = estrdup((char*)name->children->content); in schema_complexType()
1433 newType->namens = estrdup((char*)ns->children->content); in schema_complexType()
1438 create_encoder(sdl, cur_type, ns->children->content, name->children->content); in schema_complexType()
1444 trav = compType->children; in schema_complexType()
1541 parse_namespace(ref->children->content, &type, &ns); in schema_element()
1552 smart_str_appends(&nscat, (char*)ns->children->content); in schema_element()
1563 newType->name = estrdup((char*)name->children->content); in schema_element()
1564 newType->namens = estrdup((char*)ns->children->content); in schema_element()
1620 if (!stricmp((char*)attr->children->content, "true") || in schema_element()
1621 !stricmp((char*)attr->children->content, "1")) { in schema_element()
1635 cur_type->fixed = estrdup((char*)attr->children->content); in schema_element()
1643 cur_type->def = estrdup((char*)attr->children->content); in schema_element()
1649 if (strncmp((char*)attr->children->content, "qualified", sizeof("qualified")) == 0) { in schema_element()
1651 } else if (strncmp((char*)attr->children->content, "unqualified", sizeof("unqualified")) == 0) { in schema_element()
1665 if(def == NULL || strncmp((char*)def->children->content, "qualified", sizeof("qualified"))) { in schema_element()
1689 parse_namespace(type->children->content, &cptype, &str_ns); in schema_element()
1697 trav = element->children; in schema_element()
1773 parse_namespace(ref->children->content, &attr_name, &ns); in schema_attribute()
1784 smart_str_appends(&key, (char*)ns->children->content); in schema_attribute()
1800 smart_str_appends(&key, (char*)ns->children->content); in schema_attribute()
1802 newAttr->namens = estrdup((char*)ns->children->content); in schema_attribute()
1804 smart_str_appends(&key, (char*)name->children->content); in schema_attribute()
1837 parse_namespace(type->children->content, &cptype, &str_ns); in schema_attribute()
1848 newAttr->def = estrdup((char*)attr->children->content); in schema_attribute()
1850 newAttr->fixed = estrdup((char*)attr->children->content); in schema_attribute()
1852 if (strncmp((char*)attr->children->content, "qualified", sizeof("qualified")) == 0) { in schema_attribute()
1854 } else if (strncmp((char*)attr->children->content, "unqualified", sizeof("unqualified")) == 0) { in schema_attribute()
1862 newAttr->name = estrdup((char*)attr->children->content); in schema_attribute()
1868 if (strncmp((char*)attr->children->content, "prohibited", sizeof("prohibited")) == 0) { in schema_attribute()
1870 } else if (strncmp((char*)attr->children->content, "required", sizeof("required")) == 0) { in schema_attribute()
1872 } else if (strncmp((char*)attr->children->content, "optional", sizeof("optional")) == 0) { in schema_attribute()
1889 parse_namespace(attr->children->content, &value, &ns); in schema_attribute()
1895 ext->val = estrdup((char*)attr->children->content); in schema_attribute()
1920 if(def == NULL || strncmp((char*)def->children->content, "qualified", sizeof("qualified"))) { in schema_attribute()
1933 trav = attrType->children; in schema_attribute()
1959 dummy_type->namens = estrdup((char*)tns->children->content); in schema_attribute()
1995 newType->name = estrdup((char*)name->children->content); in schema_attributeGroup()
1996 newType->namens = estrdup((char*)ns->children->content); in schema_attributeGroup()
2022 parse_namespace(ref->children->content, &group_name, &ns); in schema_attributeGroup()
2041 trav = attrGroup->children; in schema_attributeGroup()