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…
102 static void schema_load_file(sdlCtx *ctx, xmlAttrPtr ns, xmlChar *location, xmlAttrPtr tns, int imp… in schema_load_file() argument
147 if (tns != NULL) { 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()
184 xmlAttrPtr tns; in load_schema() local
199 tns = get_attribute(schema->properties, "targetNamespace"); in load_schema()
200 if (tns == NULL) { in load_schema()
201 tns = xmlSetProp(schema, BAD_CAST("targetNamespace"), BAD_CAST("")); in load_schema()
223 schema_load_file(ctx, NULL, uri, tns, 0); in load_schema()
243 schema_load_file(ctx, NULL, uri, tns, 0); in load_schema()
255 if (ns != NULL && tns != NULL && xmlStrcmp(ns->children->content, tns->children->content) == 0) { in load_schema()
272 schema_load_file(ctx, ns, uri, tns, 1); in load_schema()
291 schema_simpleType(ctx->sdl, tns, trav, NULL); in load_schema()
293 schema_complexType(ctx->sdl, tns, trav, NULL); in load_schema()
295 schema_group(ctx->sdl, tns, trav, NULL, NULL); in load_schema()
297 schema_attributeGroup(ctx->sdl, tns, trav, NULL, ctx); in load_schema()
299 schema_element(ctx->sdl, tns, trav, NULL, NULL); in load_schema()
301 schema_attribute(ctx->sdl, tns, trav, NULL, ctx); in load_schema()
323 static int schema_simpleType(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr simpleType, sdlTypePtr cur_type) in schema_simpleType() argument
330 ns = tns; in schema_simpleType()
398 schema_restriction_simpleContent(sdl, tns, trav, cur_type, 1); in schema_simpleType()
402 schema_list(sdl, tns, trav, cur_type); in schema_simpleType()
406 schema_union(sdl, tns, trav, cur_type); in schema_simpleType()
429 static int schema_list(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr listType, sdlTypePtr cur_type) in schema_list() argument
486 newType->namens = estrdup((char*)tns->children->content); in schema_list()
494 schema_simpleType(sdl, tns, trav, newType); in schema_list()
512 static int schema_union(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr unionType, sdlTypePtr cur_type) in schema_union() argument
583 newType->namens = estrdup((char*)tns->children->content); in schema_union()
591 schema_simpleType(sdl, tns, trav, newType); in schema_union()
611 static int schema_simpleContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr simpCompType, sdlTypePtr cur… in schema_simpleContent() argument
623 schema_restriction_simpleContent(sdl, tns, trav, cur_type, 0); in schema_simpleContent()
627 schema_extension_simpleContent(sdl, tns, trav, cur_type); in schema_simpleContent()
656 static int schema_restriction_simpleContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr restType, sdlTyp… in schema_restriction_simpleContent() argument
688 schema_simpleType(sdl, tns, trav, cur_type); in schema_restriction_simpleContent()
733 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_restriction_simpleContent()
735 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_restriction_simpleContent()
761 static int schema_restriction_complexContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr restType, sdlTy… in schema_restriction_complexContent() argument
789 schema_group(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
792 schema_all(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
795 schema_choice(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
798 schema_sequence(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
804 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
806 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
886 static int schema_extension_simpleContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr extType, sdlTypePt… in schema_extension_simpleContent() argument
914 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_extension_simpleContent()
916 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_extension_simpleContent()
941 static int schema_extension_complexContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr extType, sdlTypeP… in schema_extension_complexContent() argument
969 schema_group(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
972 schema_all(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
975 schema_choice(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
978 schema_sequence(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
984 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
986 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
1033 static int schema_all(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr all, sdlTypePtr cur_type, sdlContentMo… in schema_all() argument
1057 schema_element(sdl, tns, trav, cur_type, newModel); in schema_all()
1077 static int schema_group(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr groupType, sdlTypePtr cur_type, sdlC… in schema_group() argument
1085 ns = tns; in schema_group()
1107 ns = tns; in schema_group()
1175 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_group()
1182 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_group()
1189 schema_all(sdl, tns, trav, cur_type, newModel); in schema_group()
1209 static int schema_choice(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr choiceType, sdlTypePtr cur_type, sd… in schema_choice() argument
1233 schema_element(sdl, tns, trav, cur_type, newModel); in schema_choice()
1235 schema_group(sdl, tns, trav, cur_type, newModel); in schema_choice()
1237 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_choice()
1239 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_choice()
1241 schema_any(sdl, tns, trav, cur_type, newModel); in schema_choice()
1259 static int schema_sequence(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr seqType, sdlTypePtr cur_type, sdl… in schema_sequence() argument
1283 schema_element(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1285 schema_group(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1287 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1289 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1291 schema_any(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1311 static int schema_any(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr anyType, sdlTypePtr cur_type, sdlConte… in schema_any() argument
1334 static int schema_complexContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr compCont, sdlTypePtr cur_ty… in schema_complexContent() argument
1346 schema_restriction_complexContent(sdl, tns, trav, cur_type); in schema_complexContent()
1350 schema_extension_complexContent(sdl, tns, trav, cur_type); in schema_complexContent()
1377 static int schema_complexType(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr compType, sdlTypePtr cur_type) in schema_complexType() argument
1385 ns = tns; in schema_complexType()
1446 schema_simpleContent(sdl, tns, trav, cur_type); in schema_complexType()
1449 schema_complexContent(sdl, tns, trav, cur_type); in schema_complexType()
1453 schema_group(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1456 schema_all(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1459 schema_choice(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1462 schema_sequence(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1467 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1469 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1506 static int schema_element(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr element, sdlTypePtr cur_type, sdlC… in schema_element() argument
1514 ns = tns; in schema_element()
1543 ns = tns; in schema_element()
1704 schema_simpleType(sdl, tns, trav, cur_type); in schema_element()
1712 schema_complexType(sdl, tns, trav, cur_type); in schema_element()
1746 static int schema_attribute(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr attrType, sdlTypePtr cur_type, s… in schema_attribute() argument
1775 ns = tns; in schema_attribute()
1792 ns = tns; in schema_attribute()
1954 dummy_type->namens = estrdup((char*)tns->children->content); in schema_attribute()
1955 schema_simpleType(sdl, tns, trav, dummy_type); in schema_attribute()
1968 static int schema_attributeGroup(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr attrGroup, sdlTypePtr cur_t… in schema_attributeGroup() argument
1986 ns = tns; in schema_attributeGroup()
2046 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_attributeGroup()
2051 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_attributeGroup()