Lines Matching refs:children

117 		schema = get_node(doc->children, "schema");  in schema_load_file()
125 …if (ns != NULL && (new_tns == NULL || xmlStrcmp(ns->children->content, new_tns->children->content)… in schema_load_file()
129 …port schema from '%s', missing 'targetNamespace', expected '%s'", location, ns->children->content); in schema_load_file()
132 const char *target_ns_copy = estrdup((const char *) new_tns->children->content); in schema_load_file()
134 …nexpected 'targetNamespace'='%s', expected '%s'", location, target_ns_copy, ns->children->content); in schema_load_file()
140 const char *target_ns_copy = estrdup((const char *) new_tns->children->content); in schema_load_file()
148 xmlSetProp(schema, BAD_CAST("targetNamespace"), tns->children->content); in schema_load_file()
150 } else if (tns != NULL && xmlStrcmp(tns->children->content, new_tns->children->content) != 0) { in schema_load_file()
205 trav = schema->children; in load_schema()
218 uri = xmlBuildURI(location->children->content, trav->doc->URL); in load_schema()
220 uri = xmlBuildURI(location->children->content, base); in load_schema()
238 uri = xmlBuildURI(location->children->content, trav->doc->URL); in load_schema()
240 uri = xmlBuildURI(location->children->content, base); in load_schema()
255 if (ns != NULL && tns != NULL && xmlStrcmp(ns->children->content, tns->children->content) == 0) { in load_schema()
257 …s', namespace must not match the enclosing schema 'targetNamespace'", location->children->content); in load_schema()
266 uri = xmlBuildURI(location->children->content, trav->doc->URL); in load_schema()
268 uri = xmlBuildURI(location->children->content, base); in load_schema()
342 newType->name = estrdup((char*)name->children->content); in schema_simpleType()
343 newType->namens = estrdup((char*)ns->children->content); in schema_simpleType()
372 newType->name = estrdup((char*)name->children->content); in schema_simpleType()
373 newType->namens = estrdup((char*)ns->children->content); in schema_simpleType()
386 create_encoder(sdl, cur_type, ns->children->content, name->children->content); in schema_simpleType()
391 trav = simpleType->children; in schema_simpleType()
439 parse_namespace(itemType->children->content, &type, &ns); in schema_list()
462 trav = listType->children; in schema_list()
486 newType->namens = estrdup((char*)tns->children->content); in schema_list()
523 str = estrdup((char*)memberTypes->children->content); in schema_union()
562 trav = unionType->children; in schema_union()
583 newType->namens = estrdup((char*)tns->children->content); in schema_union()
615 trav = simpCompType->children; in schema_simpleContent()
666 parse_namespace(base->children->content, &type, &ns); in schema_restriction_simpleContent()
682 trav = restType->children; in schema_restriction_simpleContent()
771 parse_namespace(base->children->content, &type, &ns); in schema_restriction_complexContent()
782 trav = restType->children; in schema_restriction_complexContent()
835 if (!strncmp((char*)fixed->children->content, "true", sizeof("true")) || in schema_restriction_var_int()
836 !strncmp((char*)fixed->children->content, "1", sizeof("1"))) in schema_restriction_var_int()
845 (*valptr)->value = atoi((char*)value->children->content); in schema_restriction_var_int()
862 if (!strncmp((char*)fixed->children->content, "true", sizeof("true")) || in schema_restriction_var_char()
863 !strncmp((char*)fixed->children->content, "1", sizeof("1"))) { in schema_restriction_var_char()
873 (*valptr)->value = estrdup((char*)value->children->content); in schema_restriction_var_char()
896 parse_namespace(base->children->content, &type, &ns); in schema_extension_simpleContent()
907 trav = extType->children; in schema_extension_simpleContent()
951 parse_namespace(base->children->content, &type, &ns); in schema_extension_complexContent()
962 trav = extType->children; in schema_extension_complexContent()
1007 model->min_occurs = atoi((char*)attr->children->content); in schema_min_max()
1014 if (!strncmp((char*)attr->children->content, "unbounded", sizeof("unbounded"))) { in schema_min_max()
1017 model->max_occurs = atoi((char*)attr->children->content); in schema_min_max()
1050 trav = all->children; in schema_all()
1100 parse_namespace(ref->children->content, &type, &ns); in schema_group()
1110 smart_str_appends(&key, (char*)ns->children->content); in schema_group()
1129 smart_str_appends(&key, (char*)ns->children->content); in schema_group()
1131 smart_str_appends(&key, (char*)name->children->content); in schema_group()
1164 trav = groupType->children; in schema_group()
1226 trav = choiceType->children; in schema_choice()
1276 trav = seqType->children; in schema_sequence()
1338 trav = compCont->children; in schema_complexContent()
1397 newType->name = estrdup((char*)name->children->content); in schema_complexType()
1398 newType->namens = estrdup((char*)ns->children->content); in schema_complexType()
1427 newType->name = estrdup((char*)name->children->content); in schema_complexType()
1428 newType->namens = estrdup((char*)ns->children->content); in schema_complexType()
1433 create_encoder(sdl, cur_type, ns->children->content, name->children->content); in schema_complexType()
1439 trav = compType->children; in schema_complexType()
1535 parse_namespace(ref->children->content, &type, &ns); in schema_element()
1546 smart_str_appends(&nscat, (char*)ns->children->content); in schema_element()
1558 newType->name = estrdup((char*)name->children->content); in schema_element()
1559 newType->namens = estrdup((char*)ns->children->content); in schema_element()
1615 if (!stricmp((char*)attr->children->content, "true") || in schema_element()
1616 !stricmp((char*)attr->children->content, "1")) { in schema_element()
1630 cur_type->fixed = estrdup((char*)attr->children->content); in schema_element()
1638 cur_type->def = estrdup((char*)attr->children->content); in schema_element()
1644 if (strncmp((char*)attr->children->content, "qualified", sizeof("qualified")) == 0) { in schema_element()
1646 } else if (strncmp((char*)attr->children->content, "unqualified", sizeof("unqualified")) == 0) { in schema_element()
1660 if(def == NULL || strncmp((char*)def->children->content, "qualified", sizeof("qualified"))) { in schema_element()
1683 parse_namespace(type->children->content, &cptype, &str_ns); in schema_element()
1692 trav = element->children; in schema_element()
1767 parse_namespace(ref->children->content, &attr_name, &ns); in schema_attribute()
1778 smart_str_appends(&key, (char*)ns->children->content); in schema_attribute()
1795 smart_str_appends(&key, (char*)ns->children->content); in schema_attribute()
1797 newAttr->namens = estrdup((char*)ns->children->content); in schema_attribute()
1799 smart_str_appends(&key, (char*)name->children->content); in schema_attribute()
1831 parse_namespace(type->children->content, &cptype, &str_ns); in schema_attribute()
1843 newAttr->def = estrdup((char*)attr->children->content); in schema_attribute()
1845 newAttr->fixed = estrdup((char*)attr->children->content); in schema_attribute()
1847 if (strncmp((char*)attr->children->content, "qualified", sizeof("qualified")) == 0) { in schema_attribute()
1849 } else if (strncmp((char*)attr->children->content, "unqualified", sizeof("unqualified")) == 0) { in schema_attribute()
1857 newAttr->name = estrdup((char*)attr->children->content); in schema_attribute()
1863 if (strncmp((char*)attr->children->content, "prohibited", sizeof("prohibited")) == 0) { in schema_attribute()
1865 } else if (strncmp((char*)attr->children->content, "required", sizeof("required")) == 0) { in schema_attribute()
1867 } else if (strncmp((char*)attr->children->content, "optional", sizeof("optional")) == 0) { in schema_attribute()
1883 parse_namespace(attr->children->content, &value, &ns); in schema_attribute()
1889 ext->val = estrdup((char*)attr->children->content); in schema_attribute()
1915 if(def == NULL || strncmp((char*)def->children->content, "qualified", sizeof("qualified"))) { in schema_attribute()
1928 trav = attrType->children; in schema_attribute()
1954 dummy_type->namens = estrdup((char*)tns->children->content); in schema_attribute()
1990 newType->name = estrdup((char*)name->children->content); in schema_attributeGroup()
1991 newType->namens = estrdup((char*)ns->children->content); in schema_attributeGroup()
2016 parse_namespace(ref->children->content, &group_name, &ns); in schema_attributeGroup()
2036 trav = attrGroup->children; in schema_attributeGroup()