Lines Matching refs:tns
22 static int schema_simpleType(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr simpleType, sdlTypePtr cur_type…
23 static int schema_complexType(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr compType, sdlTypePtr cur_type);
24 static int schema_list(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr listType, sdlTypePtr cur_type);
25 static int schema_union(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr unionType, sdlTypePtr cur_type);
26 static int schema_simpleContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr simpCompType, sdlTypePtr cur…
27 static int schema_restriction_simpleContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr restType, sdlTyp…
28 static int schema_restriction_complexContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr restType, sdlTy…
29 static int schema_extension_simpleContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr extType, sdlTypePt…
30 static int schema_extension_complexContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr extType, sdlTypeP…
31 static int schema_sequence(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr seqType, sdlTypePtr cur_type, sdl…
32 static int schema_all(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr extType, sdlTypePtr cur_type, sdlConte…
33 static int schema_choice(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr choiceType, sdlTypePtr cur_type, sd…
34 static int schema_group(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr groupType, sdlTypePtr cur_type, sdlC…
35 static int schema_any(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr extType, sdlTypePtr cur_type, sdlConte…
36 static int schema_element(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr element, sdlTypePtr cur_type, sdlC…
37 static int schema_attribute(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr attrType, sdlTypePtr cur_type, s…
38 static int schema_attributeGroup(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr attrType, sdlTypePtr cur_ty…
95 static void schema_load_file(sdlCtx *ctx, xmlAttrPtr ns, xmlChar *location, xmlAttrPtr tns, int imp… in schema_load_file() argument
127 if (tns != NULL) { in schema_load_file()
128 xmlSetProp(schema, BAD_CAST("targetNamespace"), tns->children->content); in schema_load_file()
130 } else if (tns != NULL && xmlStrcmp(tns->children->content, new_tns->children->content) != 0) { in schema_load_file()
163 xmlAttrPtr tns; in load_schema() local
178 tns = get_attribute(schema->properties, "targetNamespace"); in load_schema()
179 if (tns == NULL) { in load_schema()
180 tns = xmlSetProp(schema, BAD_CAST("targetNamespace"), BAD_CAST("")); in load_schema()
202 schema_load_file(ctx, NULL, uri, tns, 0); in load_schema()
222 schema_load_file(ctx, NULL, uri, tns, 0); in load_schema()
234 if (ns != NULL && tns != NULL && xmlStrcmp(ns->children->content, tns->children->content) == 0) { in load_schema()
251 schema_load_file(ctx, ns, uri, tns, 1); in load_schema()
270 schema_simpleType(ctx->sdl, tns, trav, NULL); in load_schema()
272 schema_complexType(ctx->sdl, tns, trav, NULL); in load_schema()
274 schema_group(ctx->sdl, tns, trav, NULL, NULL); in load_schema()
276 schema_attributeGroup(ctx->sdl, tns, trav, NULL, ctx); in load_schema()
278 schema_element(ctx->sdl, tns, trav, NULL, NULL); in load_schema()
280 schema_attribute(ctx->sdl, tns, trav, NULL, ctx); in load_schema()
302 static int schema_simpleType(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr simpleType, sdlTypePtr cur_type) in schema_simpleType() argument
309 ns = tns; in schema_simpleType()
377 schema_restriction_simpleContent(sdl, tns, trav, cur_type, 1); in schema_simpleType()
381 schema_list(sdl, tns, trav, cur_type); in schema_simpleType()
385 schema_union(sdl, tns, trav, cur_type); in schema_simpleType()
408 static int schema_list(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr listType, sdlTypePtr cur_type) in schema_list() argument
465 newType->namens = estrdup((char*)tns->children->content); in schema_list()
473 schema_simpleType(sdl, tns, trav, newType); in schema_list()
491 static int schema_union(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr unionType, sdlTypePtr cur_type) in schema_union() argument
562 newType->namens = estrdup((char*)tns->children->content); in schema_union()
570 schema_simpleType(sdl, tns, trav, newType); in schema_union()
590 static int schema_simpleContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr simpCompType, sdlTypePtr cur… in schema_simpleContent() argument
602 schema_restriction_simpleContent(sdl, tns, trav, cur_type, 0); in schema_simpleContent()
606 schema_extension_simpleContent(sdl, tns, trav, cur_type); in schema_simpleContent()
635 static int schema_restriction_simpleContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr restType, sdlTyp… in schema_restriction_simpleContent() argument
667 schema_simpleType(sdl, tns, trav, cur_type); in schema_restriction_simpleContent()
712 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_restriction_simpleContent()
714 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_restriction_simpleContent()
740 static int schema_restriction_complexContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr restType, sdlTy… in schema_restriction_complexContent() argument
768 schema_group(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
771 schema_all(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
774 schema_choice(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
777 schema_sequence(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
783 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
785 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
865 static int schema_extension_simpleContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr extType, sdlTypePt… in schema_extension_simpleContent() argument
893 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_extension_simpleContent()
895 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_extension_simpleContent()
920 static int schema_extension_complexContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr extType, sdlTypeP… in schema_extension_complexContent() argument
948 schema_group(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
951 schema_all(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
954 schema_choice(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
957 schema_sequence(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
963 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
965 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
1012 static int schema_all(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr all, sdlTypePtr cur_type, sdlContentMo… in schema_all() argument
1036 schema_element(sdl, tns, trav, cur_type, newModel); in schema_all()
1056 static int schema_group(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr groupType, sdlTypePtr cur_type, sdlC… in schema_group() argument
1064 ns = tns; in schema_group()
1086 ns = tns; in schema_group()
1154 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_group()
1161 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_group()
1168 schema_all(sdl, tns, trav, cur_type, newModel); in schema_group()
1188 static int schema_choice(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr choiceType, sdlTypePtr cur_type, sd… in schema_choice() argument
1212 schema_element(sdl, tns, trav, cur_type, newModel); in schema_choice()
1214 schema_group(sdl, tns, trav, cur_type, newModel); in schema_choice()
1216 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_choice()
1218 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_choice()
1220 schema_any(sdl, tns, trav, cur_type, newModel); in schema_choice()
1238 static int schema_sequence(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr seqType, sdlTypePtr cur_type, sdl… in schema_sequence() argument
1262 schema_element(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1264 schema_group(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1266 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1268 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1270 schema_any(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1290 static int schema_any(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr anyType, sdlTypePtr cur_type, sdlConte… in schema_any() argument
1313 static int schema_complexContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr compCont, sdlTypePtr cur_ty… in schema_complexContent() argument
1325 schema_restriction_complexContent(sdl, tns, trav, cur_type); in schema_complexContent()
1329 schema_extension_complexContent(sdl, tns, trav, cur_type); in schema_complexContent()
1356 static int schema_complexType(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr compType, sdlTypePtr cur_type) in schema_complexType() argument
1364 ns = tns; in schema_complexType()
1425 schema_simpleContent(sdl, tns, trav, cur_type); in schema_complexType()
1428 schema_complexContent(sdl, tns, trav, cur_type); in schema_complexType()
1432 schema_group(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1435 schema_all(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1438 schema_choice(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1441 schema_sequence(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1446 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1448 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1485 static int schema_element(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr element, sdlTypePtr cur_type, sdlC… in schema_element() argument
1493 ns = tns; in schema_element()
1522 ns = tns; in schema_element()
1683 schema_simpleType(sdl, tns, trav, cur_type); in schema_element()
1691 schema_complexType(sdl, tns, trav, cur_type); in schema_element()
1725 static int schema_attribute(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr attrType, sdlTypePtr cur_type, s… in schema_attribute() argument
1754 ns = tns; in schema_attribute()
1771 ns = tns; in schema_attribute()
1933 dummy_type->namens = estrdup((char*)tns->children->content); in schema_attribute()
1934 schema_simpleType(sdl, tns, trav, dummy_type); in schema_attribute()
1947 static int schema_attributeGroup(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr attrGroup, sdlTypePtr cur_t… in schema_attributeGroup() argument
1965 ns = tns; in schema_attributeGroup()
2025 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_attributeGroup()
2030 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_attributeGroup()