Lines Matching refs:children

115 		schema = get_node(doc->children, "schema");  in schema_load_file()
122 …if (ns != NULL && (new_tns == NULL || xmlStrcmp(ns->children->content, new_tns->children->content)… in schema_load_file()
124 …an't import schema from '%s', unexpected 'targetNamespace'='%s'", location, ns->children->content); in schema_load_file()
128 …import schema from '%s', unexpected 'targetNamespace'='%s'", location, new_tns->children->content); in schema_load_file()
134 xmlSetProp(schema, BAD_CAST("targetNamespace"), tns->children->content); in schema_load_file()
136 } else if (tns != NULL && xmlStrcmp(tns->children->content, new_tns->children->content) != 0) { in schema_load_file()
190 trav = schema->children; in load_schema()
203 uri = xmlBuildURI(location->children->content, trav->doc->URL); in load_schema()
205 uri = xmlBuildURI(location->children->content, base); in load_schema()
223 uri = xmlBuildURI(location->children->content, trav->doc->URL); in load_schema()
225 uri = xmlBuildURI(location->children->content, base); in load_schema()
240 if (ns != NULL && tns != NULL && xmlStrcmp(ns->children->content, tns->children->content) == 0) { in load_schema()
242 …s', namespace must not match the enclosing schema 'targetNamespace'", location->children->content); in load_schema()
251 uri = xmlBuildURI(location->children->content, trav->doc->URL); in load_schema()
253 uri = xmlBuildURI(location->children->content, base); in load_schema()
327 newType->name = estrdup((char*)name->children->content); in schema_simpleType()
328 newType->namens = estrdup((char*)ns->children->content); in schema_simpleType()
360 newType->name = estrdup((char*)name->children->content); in schema_simpleType()
361 newType->namens = estrdup((char*)ns->children->content); in schema_simpleType()
374 create_encoder(sdl, cur_type, ns->children->content, name->children->content); in schema_simpleType()
379 trav = simpleType->children; in schema_simpleType()
427 parse_namespace(itemType->children->content, &type, &ns); in schema_list()
450 trav = listType->children; in schema_list()
474 newType->namens = estrdup((char*)tns->children->content); in schema_list()
511 str = estrdup((char*)memberTypes->children->content); in schema_union()
550 trav = unionType->children; in schema_union()
571 newType->namens = estrdup((char*)tns->children->content); in schema_union()
603 trav = simpCompType->children; in schema_simpleContent()
654 parse_namespace(base->children->content, &type, &ns); in schema_restriction_simpleContent()
670 trav = restType->children; in schema_restriction_simpleContent()
759 parse_namespace(base->children->content, &type, &ns); in schema_restriction_complexContent()
770 trav = restType->children; in schema_restriction_complexContent()
823 if (!strncmp((char*)fixed->children->content, "true", sizeof("true")) || in schema_restriction_var_int()
824 !strncmp((char*)fixed->children->content, "1", sizeof("1"))) in schema_restriction_var_int()
833 (*valptr)->value = atoi((char*)value->children->content); in schema_restriction_var_int()
850 if (!strncmp((char*)fixed->children->content, "true", sizeof("true")) || in schema_restriction_var_char()
851 !strncmp((char*)fixed->children->content, "1", sizeof("1"))) { in schema_restriction_var_char()
861 (*valptr)->value = estrdup((char*)value->children->content); in schema_restriction_var_char()
884 parse_namespace(base->children->content, &type, &ns); in schema_extension_simpleContent()
895 trav = extType->children; in schema_extension_simpleContent()
939 parse_namespace(base->children->content, &type, &ns); in schema_extension_complexContent()
950 trav = extType->children; in schema_extension_complexContent()
995 model->min_occurs = atoi((char*)attr->children->content); in schema_min_max()
1002 if (!strncmp((char*)attr->children->content, "unbounded", sizeof("unbounded"))) { in schema_min_max()
1005 model->max_occurs = atoi((char*)attr->children->content); in schema_min_max()
1038 trav = all->children; in schema_all()
1088 parse_namespace(ref->children->content, &type, &ns); in schema_group()
1098 smart_str_appends(&key, (char*)ns->children->content); in schema_group()
1117 smart_str_appends(&key, (char*)ns->children->content); in schema_group()
1119 smart_str_appends(&key, (char*)name->children->content); in schema_group()
1152 trav = groupType->children; in schema_group()
1214 trav = choiceType->children; in schema_choice()
1264 trav = seqType->children; in schema_sequence()
1326 trav = compCont->children; in schema_complexContent()
1385 newType->name = estrdup((char*)name->children->content); in schema_complexType()
1386 newType->namens = estrdup((char*)ns->children->content); in schema_complexType()
1418 newType->name = estrdup((char*)name->children->content); in schema_complexType()
1419 newType->namens = estrdup((char*)ns->children->content); in schema_complexType()
1424 create_encoder(sdl, cur_type, ns->children->content, name->children->content); in schema_complexType()
1430 trav = compType->children; in schema_complexType()
1526 parse_namespace(ref->children->content, &type, &ns); in schema_element()
1537 smart_str_appends(&nscat, (char*)ns->children->content); in schema_element()
1549 newType->name = estrdup((char*)name->children->content); in schema_element()
1550 newType->namens = estrdup((char*)ns->children->content); in schema_element()
1606 if (!stricmp((char*)attr->children->content, "true") || in schema_element()
1607 !stricmp((char*)attr->children->content, "1")) { in schema_element()
1621 cur_type->fixed = estrdup((char*)attr->children->content); in schema_element()
1629 cur_type->def = estrdup((char*)attr->children->content); in schema_element()
1635 if (strncmp((char*)attr->children->content, "qualified", sizeof("qualified")) == 0) { in schema_element()
1637 } else if (strncmp((char*)attr->children->content, "unqualified", sizeof("unqualified")) == 0) { in schema_element()
1651 if(def == NULL || strncmp((char*)def->children->content, "qualified", sizeof("qualified"))) { in schema_element()
1674 parse_namespace(type->children->content, &cptype, &str_ns); in schema_element()
1683 trav = element->children; in schema_element()
1758 parse_namespace(ref->children->content, &attr_name, &ns); in schema_attribute()
1769 smart_str_appends(&key, (char*)ns->children->content); in schema_attribute()
1786 smart_str_appends(&key, (char*)ns->children->content); in schema_attribute()
1788 newAttr->namens = estrdup((char*)ns->children->content); in schema_attribute()
1790 smart_str_appends(&key, (char*)name->children->content); in schema_attribute()
1822 parse_namespace(type->children->content, &cptype, &str_ns); in schema_attribute()
1834 newAttr->def = estrdup((char*)attr->children->content); in schema_attribute()
1836 newAttr->fixed = estrdup((char*)attr->children->content); in schema_attribute()
1838 if (strncmp((char*)attr->children->content, "qualified", sizeof("qualified")) == 0) { in schema_attribute()
1840 } else if (strncmp((char*)attr->children->content, "unqualified", sizeof("unqualified")) == 0) { in schema_attribute()
1848 newAttr->name = estrdup((char*)attr->children->content); in schema_attribute()
1854 if (strncmp((char*)attr->children->content, "prohibited", sizeof("prohibited")) == 0) { in schema_attribute()
1856 } else if (strncmp((char*)attr->children->content, "required", sizeof("required")) == 0) { in schema_attribute()
1858 } else if (strncmp((char*)attr->children->content, "optional", sizeof("optional")) == 0) { in schema_attribute()
1874 parse_namespace(attr->children->content, &value, &ns); in schema_attribute()
1880 ext->val = estrdup((char*)attr->children->content); in schema_attribute()
1906 if(def == NULL || strncmp((char*)def->children->content, "qualified", sizeof("qualified"))) { in schema_attribute()
1919 trav = attrType->children; in schema_attribute()
1945 dummy_type->namens = estrdup((char*)tns->children->content); in schema_attribute()
1981 newType->name = estrdup((char*)name->children->content); in schema_attributeGroup()
1982 newType->namens = estrdup((char*)ns->children->content); in schema_attributeGroup()
2007 parse_namespace(ref->children->content, &group_name, &ns); in schema_attributeGroup()
2027 trav = attrGroup->children; in schema_attributeGroup()