Lines Matching refs:tns
25 static int schema_simpleType(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr simpleType, sdlTypePtr cur_type…
26 static int schema_complexType(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr compType, sdlTypePtr cur_type);
27 static int schema_list(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr listType, sdlTypePtr cur_type);
28 static int schema_union(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr unionType, sdlTypePtr cur_type);
29 static int schema_simpleContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr simpCompType, sdlTypePtr cur…
30 static int schema_restriction_simpleContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr restType, sdlTyp…
31 static int schema_restriction_complexContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr restType, sdlTy…
32 static int schema_extension_simpleContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr extType, sdlTypePt…
33 static int schema_extension_complexContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr extType, sdlTypeP…
34 static int schema_sequence(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr seqType, sdlTypePtr cur_type, sdl…
35 static int schema_all(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr extType, sdlTypePtr cur_type, sdlConte…
36 static int schema_choice(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr choiceType, sdlTypePtr cur_type, sd…
37 static int schema_group(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr groupType, sdlTypePtr cur_type, sdlC…
38 static int schema_any(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr extType, sdlTypePtr cur_type, sdlConte…
39 static int schema_element(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr element, sdlTypePtr cur_type, sdlC…
40 static int schema_attribute(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr attrType, sdlTypePtr cur_type, s…
41 static int schema_attributeGroup(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr attrType, sdlTypePtr cur_ty…
98 static void schema_load_file(sdlCtx *ctx, xmlAttrPtr ns, xmlChar *location, xmlAttrPtr tns, int imp… in schema_load_file() argument
130 if (tns != NULL) { 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()
166 xmlAttrPtr tns; in load_schema() local
181 tns = get_attribute(schema->properties, "targetNamespace"); in load_schema()
182 if (tns == NULL) { in load_schema()
183 tns = xmlSetProp(schema, BAD_CAST("targetNamespace"), BAD_CAST("")); in load_schema()
205 schema_load_file(ctx, NULL, uri, tns, 0 TSRMLS_CC); in load_schema()
225 schema_load_file(ctx, NULL, uri, tns, 0 TSRMLS_CC); in load_schema()
237 if (ns != NULL && tns != NULL && xmlStrcmp(ns->children->content, tns->children->content) == 0) { in load_schema()
254 schema_load_file(ctx, ns, uri, tns, 1 TSRMLS_CC); in load_schema()
273 schema_simpleType(ctx->sdl, tns, trav, NULL); in load_schema()
275 schema_complexType(ctx->sdl, tns, trav, NULL); in load_schema()
277 schema_group(ctx->sdl, tns, trav, NULL, NULL); in load_schema()
279 schema_attributeGroup(ctx->sdl, tns, trav, NULL, ctx); in load_schema()
281 schema_element(ctx->sdl, tns, trav, NULL, NULL); in load_schema()
283 schema_attribute(ctx->sdl, tns, trav, NULL, ctx); in load_schema()
305 static int schema_simpleType(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr simpleType, sdlTypePtr cur_type) in schema_simpleType() argument
312 ns = tns; in schema_simpleType()
380 schema_restriction_simpleContent(sdl, tns, trav, cur_type, 1); in schema_simpleType()
384 schema_list(sdl, tns, trav, cur_type); in schema_simpleType()
388 schema_union(sdl, tns, trav, cur_type); in schema_simpleType()
411 static int schema_list(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr listType, sdlTypePtr cur_type) in schema_list() argument
467 newType->namens = estrdup((char*)tns->children->content); in schema_list()
475 schema_simpleType(sdl, tns, trav, newType); in schema_list()
493 static int schema_union(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr unionType, sdlTypePtr cur_type) in schema_union() argument
563 newType->namens = estrdup((char*)tns->children->content); in schema_union()
571 schema_simpleType(sdl, tns, trav, newType); in schema_union()
591 static int schema_simpleContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr simpCompType, sdlTypePtr cur… in schema_simpleContent() argument
603 schema_restriction_simpleContent(sdl, tns, trav, cur_type, 0); in schema_simpleContent()
607 schema_extension_simpleContent(sdl, tns, trav, cur_type); in schema_simpleContent()
636 static int schema_restriction_simpleContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr restType, sdlTyp… in schema_restriction_simpleContent() argument
668 schema_simpleType(sdl, tns, trav, cur_type); in schema_restriction_simpleContent()
713 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_restriction_simpleContent()
715 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_restriction_simpleContent()
741 static int schema_restriction_complexContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr restType, sdlTy… in schema_restriction_complexContent() argument
769 schema_group(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
772 schema_all(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
775 schema_choice(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
778 schema_sequence(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
784 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
786 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
866 static int schema_extension_simpleContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr extType, sdlTypePt… in schema_extension_simpleContent() argument
894 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_extension_simpleContent()
896 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_extension_simpleContent()
921 static int schema_extension_complexContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr extType, sdlTypeP… in schema_extension_complexContent() argument
949 schema_group(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
952 schema_all(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
955 schema_choice(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
958 schema_sequence(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
964 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
966 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
1013 static int schema_all(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr all, sdlTypePtr cur_type, sdlContentMo… in schema_all() argument
1037 schema_element(sdl, tns, trav, cur_type, newModel); in schema_all()
1057 static int schema_group(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr groupType, sdlTypePtr cur_type, sdlC… in schema_group() argument
1065 ns = tns; in schema_group()
1087 ns = tns; in schema_group()
1155 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_group()
1162 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_group()
1169 schema_all(sdl, tns, trav, cur_type, newModel); in schema_group()
1189 static int schema_choice(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr choiceType, sdlTypePtr cur_type, sd… in schema_choice() argument
1213 schema_element(sdl, tns, trav, cur_type, newModel); in schema_choice()
1215 schema_group(sdl, tns, trav, cur_type, newModel); in schema_choice()
1217 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_choice()
1219 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_choice()
1221 schema_any(sdl, tns, trav, cur_type, newModel); in schema_choice()
1239 static int schema_sequence(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr seqType, sdlTypePtr cur_type, sdl… in schema_sequence() argument
1263 schema_element(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1265 schema_group(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1267 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1269 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1271 schema_any(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1291 static int schema_any(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr anyType, sdlTypePtr cur_type, sdlConte… in schema_any() argument
1314 static int schema_complexContent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr compCont, sdlTypePtr cur_ty… in schema_complexContent() argument
1326 schema_restriction_complexContent(sdl, tns, trav, cur_type); in schema_complexContent()
1330 schema_extension_complexContent(sdl, tns, trav, cur_type); in schema_complexContent()
1357 static int schema_complexType(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr compType, sdlTypePtr cur_type) in schema_complexType() argument
1365 ns = tns; in schema_complexType()
1426 schema_simpleContent(sdl, tns, trav, cur_type); in schema_complexType()
1429 schema_complexContent(sdl, tns, trav, cur_type); in schema_complexType()
1433 schema_group(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1436 schema_all(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1439 schema_choice(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1442 schema_sequence(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1447 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1449 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1486 static int schema_element(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr element, sdlTypePtr cur_type, sdlC… in schema_element() argument
1494 ns = tns; in schema_element()
1523 ns = tns; in schema_element()
1686 schema_simpleType(sdl, tns, trav, cur_type); in schema_element()
1694 schema_complexType(sdl, tns, trav, cur_type); in schema_element()
1728 static int schema_attribute(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr attrType, sdlTypePtr cur_type, s… in schema_attribute() argument
1757 ns = tns; in schema_attribute()
1774 ns = tns; in schema_attribute()
1932 dummy_type->namens = estrdup((char*)tns->children->content); in schema_attribute()
1933 schema_simpleType(sdl, tns, trav, dummy_type); in schema_attribute()
1945 static int schema_attributeGroup(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr attrGroup, sdlTypePtr cur_t… in schema_attributeGroup() argument
1963 ns = tns; in schema_attributeGroup()
2023 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_attributeGroup()
2028 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_attributeGroup()