Lines Matching refs:children
112 schema = get_node(doc->children, "schema"); in schema_load_file()
119 …if (ns != NULL && (new_tns == NULL || xmlStrcmp(ns->children->content, new_tns->children->content)… in schema_load_file()
121 …an't import schema from '%s', unexpected 'targetNamespace'='%s'", location, ns->children->content); in schema_load_file()
125 …import schema from '%s', unexpected 'targetNamespace'='%s'", location, new_tns->children->content); in schema_load_file()
131 xmlSetProp(schema, BAD_CAST("targetNamespace"), tns->children->content); in schema_load_file()
133 } else if (tns != NULL && xmlStrcmp(tns->children->content, new_tns->children->content) != 0) { in schema_load_file()
187 trav = schema->children; in load_schema()
200 uri = xmlBuildURI(location->children->content, trav->doc->URL); in load_schema()
202 uri = xmlBuildURI(location->children->content, base); in load_schema()
220 uri = xmlBuildURI(location->children->content, trav->doc->URL); in load_schema()
222 uri = xmlBuildURI(location->children->content, base); in load_schema()
237 if (ns != NULL && tns != NULL && xmlStrcmp(ns->children->content, tns->children->content) == 0) { in load_schema()
239 …s', namespace must not match the enclosing schema 'targetNamespace'", location->children->content); in load_schema()
248 uri = xmlBuildURI(location->children->content, trav->doc->URL); in load_schema()
250 uri = xmlBuildURI(location->children->content, base); in load_schema()
324 newType->name = estrdup((char*)name->children->content); in schema_simpleType()
325 newType->namens = estrdup((char*)ns->children->content); in schema_simpleType()
354 newType->name = estrdup((char*)name->children->content); in schema_simpleType()
355 newType->namens = estrdup((char*)ns->children->content); in schema_simpleType()
368 create_encoder(sdl, cur_type, ns->children->content, name->children->content); in schema_simpleType()
373 trav = simpleType->children; in schema_simpleType()
421 parse_namespace(itemType->children->content, &type, &ns); in schema_list()
444 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()
563 newType->namens = estrdup((char*)tns->children->content); in schema_union()
595 trav = simpCompType->children; in schema_simpleContent()
646 parse_namespace(base->children->content, &type, &ns); in schema_restriction_simpleContent()
662 trav = restType->children; in schema_restriction_simpleContent()
751 parse_namespace(base->children->content, &type, &ns); in schema_restriction_complexContent()
762 trav = restType->children; in schema_restriction_complexContent()
815 if (!strncmp((char*)fixed->children->content, "true", sizeof("true")) || in schema_restriction_var_int()
816 !strncmp((char*)fixed->children->content, "1", sizeof("1"))) in schema_restriction_var_int()
825 (*valptr)->value = atoi((char*)value->children->content); in schema_restriction_var_int()
842 if (!strncmp((char*)fixed->children->content, "true", sizeof("true")) || in schema_restriction_var_char()
843 !strncmp((char*)fixed->children->content, "1", sizeof("1"))) { in schema_restriction_var_char()
853 (*valptr)->value = estrdup((char*)value->children->content); in schema_restriction_var_char()
876 parse_namespace(base->children->content, &type, &ns); in schema_extension_simpleContent()
887 trav = extType->children; in schema_extension_simpleContent()
931 parse_namespace(base->children->content, &type, &ns); in schema_extension_complexContent()
942 trav = extType->children; in schema_extension_complexContent()
987 model->min_occurs = atoi((char*)attr->children->content); in schema_min_max()
994 if (!strncmp((char*)attr->children->content, "unbounded", sizeof("unbounded"))) { in schema_min_max()
997 model->max_occurs = atoi((char*)attr->children->content); in schema_min_max()
1030 trav = all->children; in schema_all()
1080 parse_namespace(ref->children->content, &type, &ns); in schema_group()
1090 smart_str_appends(&key, (char*)ns->children->content); in schema_group()
1109 smart_str_appends(&key, (char*)ns->children->content); in schema_group()
1111 smart_str_appends(&key, (char*)name->children->content); in schema_group()
1144 trav = groupType->children; in schema_group()
1206 trav = choiceType->children; in schema_choice()
1256 trav = seqType->children; in schema_sequence()
1318 trav = compCont->children; in schema_complexContent()
1377 newType->name = estrdup((char*)name->children->content); in schema_complexType()
1378 newType->namens = estrdup((char*)ns->children->content); in schema_complexType()
1407 newType->name = estrdup((char*)name->children->content); in schema_complexType()
1408 newType->namens = estrdup((char*)ns->children->content); in schema_complexType()
1413 create_encoder(sdl, cur_type, ns->children->content, name->children->content); in schema_complexType()
1419 trav = compType->children; in schema_complexType()
1515 parse_namespace(ref->children->content, &type, &ns); in schema_element()
1526 smart_str_appends(&nscat, (char*)ns->children->content); in schema_element()
1538 newType->name = estrdup((char*)name->children->content); in schema_element()
1539 newType->namens = estrdup((char*)ns->children->content); in schema_element()
1595 if (!stricmp((char*)attr->children->content, "true") || in schema_element()
1596 !stricmp((char*)attr->children->content, "1")) { in schema_element()
1610 cur_type->fixed = estrdup((char*)attr->children->content); in schema_element()
1620 cur_type->def = estrdup((char*)attr->children->content); in schema_element()
1626 if (strncmp((char*)attr->children->content, "qualified", sizeof("qualified")) == 0) { in schema_element()
1628 } else if (strncmp((char*)attr->children->content, "unqualified", sizeof("unqualified")) == 0) { in schema_element()
1642 if(def == NULL || strncmp((char*)def->children->content, "qualified", sizeof("qualified"))) { in schema_element()
1665 parse_namespace(type->children->content, &cptype, &str_ns); in schema_element()
1674 trav = element->children; in schema_element()
1749 parse_namespace(ref->children->content, &attr_name, &ns); in schema_attribute()
1760 smart_str_appends(&key, (char*)ns->children->content); in schema_attribute()
1777 smart_str_appends(&key, (char*)ns->children->content); in schema_attribute()
1779 newAttr->namens = estrdup((char*)ns->children->content); in schema_attribute()
1781 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()
1932 dummy_type->namens = estrdup((char*)tns->children->content); in schema_attribute()
1967 newType->name = estrdup((char*)name->children->content); in schema_attributeGroup()
1968 newType->namens = estrdup((char*)ns->children->content); in schema_attributeGroup()
1993 parse_namespace(ref->children->content, &group_name, &ns); in schema_attributeGroup()
2013 trav = attrGroup->children; in schema_attributeGroup()