Lines Matching refs:children

111 		schema = get_node(doc->children, "schema");  in schema_load_file()
118 …if (ns != NULL && (new_tns == NULL || xmlStrcmp(ns->children->content, new_tns->children->content)… in schema_load_file()
120 …an't import schema from '%s', unexpected 'targetNamespace'='%s'", location, ns->children->content); in schema_load_file()
124 …import schema from '%s', unexpected 'targetNamespace'='%s'", location, new_tns->children->content); in schema_load_file()
130 xmlSetProp(schema, BAD_CAST("targetNamespace"), tns->children->content); in schema_load_file()
132 } else if (tns != NULL && xmlStrcmp(tns->children->content, new_tns->children->content) != 0) { in schema_load_file()
186 trav = schema->children; in load_schema()
199 uri = xmlBuildURI(location->children->content, trav->doc->URL); in load_schema()
201 uri = xmlBuildURI(location->children->content, base); in load_schema()
219 uri = xmlBuildURI(location->children->content, trav->doc->URL); in load_schema()
221 uri = xmlBuildURI(location->children->content, base); in load_schema()
236 if (ns != NULL && tns != NULL && xmlStrcmp(ns->children->content, tns->children->content) == 0) { in load_schema()
238 …s', namespace must not match the enclosing schema 'targetNamespace'", location->children->content); in load_schema()
247 uri = xmlBuildURI(location->children->content, trav->doc->URL); in load_schema()
249 uri = xmlBuildURI(location->children->content, base); in load_schema()
323 newType->name = estrdup((char*)name->children->content); in schema_simpleType()
324 newType->namens = estrdup((char*)ns->children->content); in schema_simpleType()
353 newType->name = estrdup((char*)name->children->content); in schema_simpleType()
354 newType->namens = estrdup((char*)ns->children->content); in schema_simpleType()
367 create_encoder(sdl, cur_type, ns->children->content, name->children->content); in schema_simpleType()
372 trav = simpleType->children; in schema_simpleType()
420 parse_namespace(itemType->children->content, &type, &ns); in schema_list()
443 trav = listType->children; in schema_list()
467 newType->namens = estrdup((char*)tns->children->content); in schema_list()
504 str = estrdup((char*)memberTypes->children->content); in schema_union()
543 trav = unionType->children; in schema_union()
564 newType->namens = estrdup((char*)tns->children->content); in schema_union()
596 trav = simpCompType->children; in schema_simpleContent()
647 parse_namespace(base->children->content, &type, &ns); in schema_restriction_simpleContent()
663 trav = restType->children; in schema_restriction_simpleContent()
752 parse_namespace(base->children->content, &type, &ns); in schema_restriction_complexContent()
763 trav = restType->children; in schema_restriction_complexContent()
816 if (!strncmp((char*)fixed->children->content, "true", sizeof("true")) || in schema_restriction_var_int()
817 !strncmp((char*)fixed->children->content, "1", sizeof("1"))) in schema_restriction_var_int()
826 (*valptr)->value = atoi((char*)value->children->content); in schema_restriction_var_int()
843 if (!strncmp((char*)fixed->children->content, "true", sizeof("true")) || in schema_restriction_var_char()
844 !strncmp((char*)fixed->children->content, "1", sizeof("1"))) { in schema_restriction_var_char()
854 (*valptr)->value = estrdup((char*)value->children->content); in schema_restriction_var_char()
877 parse_namespace(base->children->content, &type, &ns); in schema_extension_simpleContent()
888 trav = extType->children; in schema_extension_simpleContent()
932 parse_namespace(base->children->content, &type, &ns); in schema_extension_complexContent()
943 trav = extType->children; in schema_extension_complexContent()
988 model->min_occurs = atoi((char*)attr->children->content); in schema_min_max()
995 if (!strncmp((char*)attr->children->content, "unbounded", sizeof("unbounded"))) { in schema_min_max()
998 model->max_occurs = atoi((char*)attr->children->content); in schema_min_max()
1031 trav = all->children; in schema_all()
1081 parse_namespace(ref->children->content, &type, &ns); in schema_group()
1091 smart_str_appends(&key, (char*)ns->children->content); in schema_group()
1110 smart_str_appends(&key, (char*)ns->children->content); in schema_group()
1112 smart_str_appends(&key, (char*)name->children->content); in schema_group()
1145 trav = groupType->children; in schema_group()
1207 trav = choiceType->children; in schema_choice()
1257 trav = seqType->children; in schema_sequence()
1319 trav = compCont->children; in schema_complexContent()
1378 newType->name = estrdup((char*)name->children->content); in schema_complexType()
1379 newType->namens = estrdup((char*)ns->children->content); in schema_complexType()
1408 newType->name = estrdup((char*)name->children->content); in schema_complexType()
1409 newType->namens = estrdup((char*)ns->children->content); in schema_complexType()
1414 create_encoder(sdl, cur_type, ns->children->content, name->children->content); in schema_complexType()
1420 trav = compType->children; in schema_complexType()
1516 parse_namespace(ref->children->content, &type, &ns); in schema_element()
1527 smart_str_appends(&nscat, (char*)ns->children->content); in schema_element()
1539 newType->name = estrdup((char*)name->children->content); in schema_element()
1540 newType->namens = estrdup((char*)ns->children->content); in schema_element()
1596 if (!stricmp((char*)attr->children->content, "true") || in schema_element()
1597 !stricmp((char*)attr->children->content, "1")) { in schema_element()
1611 cur_type->fixed = estrdup((char*)attr->children->content); in schema_element()
1619 cur_type->def = estrdup((char*)attr->children->content); in schema_element()
1625 if (strncmp((char*)attr->children->content, "qualified", sizeof("qualified")) == 0) { in schema_element()
1627 } else if (strncmp((char*)attr->children->content, "unqualified", sizeof("unqualified")) == 0) { in schema_element()
1641 if(def == NULL || strncmp((char*)def->children->content, "qualified", sizeof("qualified"))) { in schema_element()
1664 parse_namespace(type->children->content, &cptype, &str_ns); in schema_element()
1673 trav = element->children; in schema_element()
1748 parse_namespace(ref->children->content, &attr_name, &ns); in schema_attribute()
1759 smart_str_appends(&key, (char*)ns->children->content); in schema_attribute()
1776 smart_str_appends(&key, (char*)ns->children->content); in schema_attribute()
1778 newAttr->namens = estrdup((char*)ns->children->content); in schema_attribute()
1780 smart_str_appends(&key, (char*)name->children->content); in schema_attribute()
1812 parse_namespace(type->children->content, &cptype, &str_ns); in schema_attribute()
1824 newAttr->def = estrdup((char*)attr->children->content); in schema_attribute()
1826 newAttr->fixed = estrdup((char*)attr->children->content); in schema_attribute()
1828 if (strncmp((char*)attr->children->content, "qualified", sizeof("qualified")) == 0) { in schema_attribute()
1830 } else if (strncmp((char*)attr->children->content, "unqualified", sizeof("unqualified")) == 0) { in schema_attribute()
1838 newAttr->name = estrdup((char*)attr->children->content); in schema_attribute()
1844 if (strncmp((char*)attr->children->content, "prohibited", sizeof("prohibited")) == 0) { in schema_attribute()
1846 } else if (strncmp((char*)attr->children->content, "required", sizeof("required")) == 0) { in schema_attribute()
1848 } else if (strncmp((char*)attr->children->content, "optional", sizeof("optional")) == 0) { in schema_attribute()
1864 parse_namespace(attr->children->content, &value, &ns); in schema_attribute()
1870 ext->val = estrdup((char*)attr->children->content); in schema_attribute()
1896 if(def == NULL || strncmp((char*)def->children->content, "qualified", sizeof("qualified"))) { in schema_attribute()
1909 trav = attrType->children; in schema_attribute()
1935 dummy_type->namens = estrdup((char*)tns->children->content); in schema_attribute()
1971 newType->name = estrdup((char*)name->children->content); in schema_attributeGroup()
1972 newType->namens = estrdup((char*)ns->children->content); in schema_attributeGroup()
1997 parse_namespace(ref->children->content, &group_name, &ns); in schema_attributeGroup()
2017 trav = attrGroup->children; in schema_attributeGroup()