Lines Matching refs:trav

164 	xmlNodePtr trav;  in load_schema()  local
186 trav = schema->children; in load_schema()
187 while (trav != NULL) { in load_schema()
188 if (node_is_equal(trav,"include")) { in load_schema()
191 location = get_attribute(trav->properties, "schemaLocation"); in load_schema()
196 xmlChar *base = xmlNodeGetBase(trav->doc, trav); in load_schema()
199 uri = xmlBuildURI(location->children->content, trav->doc->URL); in load_schema()
208 } else if (node_is_equal(trav,"redefine")) { in load_schema()
211 location = get_attribute(trav->properties, "schemaLocation"); in load_schema()
216 xmlChar *base = xmlNodeGetBase(trav->doc, trav); in load_schema()
219 uri = xmlBuildURI(location->children->content, trav->doc->URL); in load_schema()
229 } else if (node_is_equal(trav,"import")) { in load_schema()
233 ns = get_attribute(trav->properties, "namespace"); in load_schema()
234 location = get_attribute(trav->properties, "schemaLocation"); in load_schema()
244 xmlChar *base = xmlNodeGetBase(trav->doc, trav); in load_schema()
247 uri = xmlBuildURI(location->children->content, trav->doc->URL); in load_schema()
255 } else if (node_is_equal(trav,"annotation")) { in load_schema()
267 trav = trav->next; in load_schema()
270 while (trav != NULL) { in load_schema()
271 if (node_is_equal(trav,"simpleType")) { in load_schema()
272 schema_simpleType(ctx->sdl, tns, trav, NULL); in load_schema()
273 } else if (node_is_equal(trav,"complexType")) { in load_schema()
274 schema_complexType(ctx->sdl, tns, trav, NULL); in load_schema()
275 } else if (node_is_equal(trav,"group")) { in load_schema()
276 schema_group(ctx->sdl, tns, trav, NULL, NULL); in load_schema()
277 } else if (node_is_equal(trav,"attributeGroup")) { in load_schema()
278 schema_attributeGroup(ctx->sdl, tns, trav, NULL, ctx); in load_schema()
279 } else if (node_is_equal(trav,"element")) { in load_schema()
280 schema_element(ctx->sdl, tns, trav, NULL, NULL); in load_schema()
281 } else if (node_is_equal(trav,"attribute")) { in load_schema()
282 schema_attribute(ctx->sdl, tns, trav, NULL, ctx); in load_schema()
283 } else if (node_is_equal(trav,"notation")) { in load_schema()
285 } else if (node_is_equal(trav,"annotation")) { in load_schema()
288 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in schema", trav->name); in load_schema()
290 trav = trav->next; in load_schema()
306 xmlNodePtr trav; in schema_simpleType() local
372 trav = simpleType->children; in schema_simpleType()
373 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_simpleType()
375 trav = trav->next; in schema_simpleType()
377 if (trav != NULL) { in schema_simpleType()
378 if (node_is_equal(trav,"restriction")) { in schema_simpleType()
379 schema_restriction_simpleContent(sdl, tns, trav, cur_type, 1); in schema_simpleType()
380 trav = trav->next; in schema_simpleType()
381 } else if (node_is_equal(trav,"list")) { in schema_simpleType()
383 schema_list(sdl, tns, trav, cur_type); in schema_simpleType()
384 trav = trav->next; in schema_simpleType()
385 } else if (node_is_equal(trav,"union")) { in schema_simpleType()
387 schema_union(sdl, tns, trav, cur_type); in schema_simpleType()
388 trav = trav->next; in schema_simpleType()
390 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in simpleType", trav->name); in schema_simpleType()
395 if (trav != NULL) { in schema_simpleType()
396 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in simpleType", trav->name); in schema_simpleType()
412 xmlNodePtr trav; in schema_list() local
443 trav = listType->children; in schema_list()
444 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_list()
446 trav = trav->next; in schema_list()
448 if (trav != NULL && node_is_equal(trav,"simpleType")) { in schema_list()
475 schema_simpleType(sdl, tns, trav, newType); in schema_list()
477 trav = trav->next; in schema_list()
479 if (trav != NULL) { in schema_list()
480 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in list", trav->name); in schema_list()
495 xmlNodePtr trav; in schema_union() local
543 trav = unionType->children; in schema_union()
544 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_union()
546 trav = trav->next; in schema_union()
548 while (trav != NULL) { in schema_union()
549 if (node_is_equal(trav,"simpleType")) { in schema_union()
572 schema_simpleType(sdl, tns, trav, newType); in schema_union()
575 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in union", trav->name); in schema_union()
577 trav = trav->next; in schema_union()
579 if (trav != NULL) { in schema_union()
580 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in union", trav->name); in schema_union()
594 xmlNodePtr trav; in schema_simpleContent() local
596 trav = simpCompType->children; in schema_simpleContent()
597 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_simpleContent()
599 trav = trav->next; in schema_simpleContent()
601 if (trav != NULL) { in schema_simpleContent()
602 if (node_is_equal(trav, "restriction")) { in schema_simpleContent()
604 schema_restriction_simpleContent(sdl, tns, trav, cur_type, 0); in schema_simpleContent()
605 trav = trav->next; in schema_simpleContent()
606 } else if (node_is_equal(trav, "extension")) { in schema_simpleContent()
608 schema_extension_simpleContent(sdl, tns, trav, cur_type); in schema_simpleContent()
609 trav = trav->next; in schema_simpleContent()
611 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in simpleContent", trav->name); in schema_simpleContent()
616 if (trav != NULL) { in schema_simpleContent()
617 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in simpleContent", trav->name); in schema_simpleContent()
639 xmlNodePtr trav; in schema_restriction_simpleContent() local
663 trav = restType->children; in schema_restriction_simpleContent()
664 if (trav != NULL && node_is_equal(trav, "annotation")) { in schema_restriction_simpleContent()
666 trav = trav->next; in schema_restriction_simpleContent()
668 if (trav != NULL && node_is_equal(trav, "simpleType")) { in schema_restriction_simpleContent()
669 schema_simpleType(sdl, tns, trav, cur_type); in schema_restriction_simpleContent()
670 trav = trav->next; in schema_restriction_simpleContent()
672 while (trav != NULL) { in schema_restriction_simpleContent()
673 if (node_is_equal(trav, "minExclusive")) { in schema_restriction_simpleContent()
674 schema_restriction_var_int(trav, &cur_type->restrictions->minExclusive); in schema_restriction_simpleContent()
675 } else if (node_is_equal(trav, "minInclusive")) { in schema_restriction_simpleContent()
676 schema_restriction_var_int(trav, &cur_type->restrictions->minInclusive); in schema_restriction_simpleContent()
677 } else if (node_is_equal(trav, "maxExclusive")) { in schema_restriction_simpleContent()
678 schema_restriction_var_int(trav, &cur_type->restrictions->maxExclusive); in schema_restriction_simpleContent()
679 } else if (node_is_equal(trav, "maxInclusive")) { in schema_restriction_simpleContent()
680 schema_restriction_var_int(trav, &cur_type->restrictions->maxInclusive); in schema_restriction_simpleContent()
681 } else if (node_is_equal(trav, "totalDigits")) { in schema_restriction_simpleContent()
682 schema_restriction_var_int(trav, &cur_type->restrictions->totalDigits); in schema_restriction_simpleContent()
683 } else if (node_is_equal(trav, "fractionDigits")) { in schema_restriction_simpleContent()
684 schema_restriction_var_int(trav, &cur_type->restrictions->fractionDigits); in schema_restriction_simpleContent()
685 } else if (node_is_equal(trav, "length")) { in schema_restriction_simpleContent()
686 schema_restriction_var_int(trav, &cur_type->restrictions->length); in schema_restriction_simpleContent()
687 } else if (node_is_equal(trav, "minLength")) { in schema_restriction_simpleContent()
688 schema_restriction_var_int(trav, &cur_type->restrictions->minLength); in schema_restriction_simpleContent()
689 } else if (node_is_equal(trav, "maxLength")) { in schema_restriction_simpleContent()
690 schema_restriction_var_int(trav, &cur_type->restrictions->maxLength); in schema_restriction_simpleContent()
691 } else if (node_is_equal(trav, "whiteSpace")) { in schema_restriction_simpleContent()
692 schema_restriction_var_char(trav, &cur_type->restrictions->whiteSpace); in schema_restriction_simpleContent()
693 } else if (node_is_equal(trav, "pattern")) { in schema_restriction_simpleContent()
694 schema_restriction_var_char(trav, &cur_type->restrictions->pattern); in schema_restriction_simpleContent()
695 } else if (node_is_equal(trav, "enumeration")) { in schema_restriction_simpleContent()
698 schema_restriction_var_char(trav, &enumval); in schema_restriction_simpleContent()
709 trav = trav->next; in schema_restriction_simpleContent()
712 while (trav != NULL) { in schema_restriction_simpleContent()
713 if (node_is_equal(trav,"attribute")) { in schema_restriction_simpleContent()
714 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_restriction_simpleContent()
715 } else if (node_is_equal(trav,"attributeGroup")) { in schema_restriction_simpleContent()
716 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_restriction_simpleContent()
717 } else if (node_is_equal(trav,"anyAttribute")) { in schema_restriction_simpleContent()
719 trav = trav->next; in schema_restriction_simpleContent()
722 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in restriction", trav->name); in schema_restriction_simpleContent()
724 trav = trav->next; in schema_restriction_simpleContent()
727 if (trav != NULL) { in schema_restriction_simpleContent()
728 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in restriction", trav->name); in schema_restriction_simpleContent()
745 xmlNodePtr trav; in schema_restriction_complexContent() local
763 trav = restType->children; in schema_restriction_complexContent()
764 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_restriction_complexContent()
766 trav = trav->next; in schema_restriction_complexContent()
768 if (trav != NULL) { in schema_restriction_complexContent()
769 if (node_is_equal(trav,"group")) { in schema_restriction_complexContent()
770 schema_group(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
771 trav = trav->next; in schema_restriction_complexContent()
772 } else if (node_is_equal(trav,"all")) { in schema_restriction_complexContent()
773 schema_all(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
774 trav = trav->next; in schema_restriction_complexContent()
775 } else if (node_is_equal(trav,"choice")) { in schema_restriction_complexContent()
776 schema_choice(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
777 trav = trav->next; in schema_restriction_complexContent()
778 } else if (node_is_equal(trav,"sequence")) { in schema_restriction_complexContent()
779 schema_sequence(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
780 trav = trav->next; in schema_restriction_complexContent()
783 while (trav != NULL) { in schema_restriction_complexContent()
784 if (node_is_equal(trav,"attribute")) { in schema_restriction_complexContent()
785 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
786 } else if (node_is_equal(trav,"attributeGroup")) { in schema_restriction_complexContent()
787 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
788 } else if (node_is_equal(trav,"anyAttribute")) { in schema_restriction_complexContent()
790 trav = trav->next; in schema_restriction_complexContent()
793 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in restriction", trav->name); in schema_restriction_complexContent()
795 trav = trav->next; in schema_restriction_complexContent()
797 if (trav != NULL) { in schema_restriction_complexContent()
798 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in restriction", trav->name); in schema_restriction_complexContent()
869 xmlNodePtr trav; in schema_extension_simpleContent() local
888 trav = extType->children; in schema_extension_simpleContent()
889 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_extension_simpleContent()
891 trav = trav->next; in schema_extension_simpleContent()
893 while (trav != NULL) { in schema_extension_simpleContent()
894 if (node_is_equal(trav,"attribute")) { in schema_extension_simpleContent()
895 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_extension_simpleContent()
896 } else if (node_is_equal(trav,"attributeGroup")) { in schema_extension_simpleContent()
897 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_extension_simpleContent()
898 } else if (node_is_equal(trav,"anyAttribute")) { in schema_extension_simpleContent()
900 trav = trav->next; in schema_extension_simpleContent()
903 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in extension", trav->name); in schema_extension_simpleContent()
905 trav = trav->next; in schema_extension_simpleContent()
907 if (trav != NULL) { in schema_extension_simpleContent()
908 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in extension", trav->name); in schema_extension_simpleContent()
924 xmlNodePtr trav; in schema_extension_complexContent() local
943 trav = extType->children; in schema_extension_complexContent()
944 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_extension_complexContent()
946 trav = trav->next; in schema_extension_complexContent()
948 if (trav != NULL) { in schema_extension_complexContent()
949 if (node_is_equal(trav,"group")) { in schema_extension_complexContent()
950 schema_group(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
951 trav = trav->next; in schema_extension_complexContent()
952 } else if (node_is_equal(trav,"all")) { in schema_extension_complexContent()
953 schema_all(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
954 trav = trav->next; in schema_extension_complexContent()
955 } else if (node_is_equal(trav,"choice")) { in schema_extension_complexContent()
956 schema_choice(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
957 trav = trav->next; in schema_extension_complexContent()
958 } else if (node_is_equal(trav,"sequence")) { in schema_extension_complexContent()
959 schema_sequence(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
960 trav = trav->next; in schema_extension_complexContent()
963 while (trav != NULL) { in schema_extension_complexContent()
964 if (node_is_equal(trav,"attribute")) { in schema_extension_complexContent()
965 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
966 } else if (node_is_equal(trav,"attributeGroup")) { in schema_extension_complexContent()
967 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
968 } else if (node_is_equal(trav,"anyAttribute")) { in schema_extension_complexContent()
970 trav = trav->next; in schema_extension_complexContent()
973 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in extension", trav->name); in schema_extension_complexContent()
975 trav = trav->next; in schema_extension_complexContent()
977 if (trav != NULL) { in schema_extension_complexContent()
978 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in extension", trav->name); in schema_extension_complexContent()
1016 xmlNodePtr trav; in schema_all() local
1031 trav = all->children; in schema_all()
1032 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_all()
1034 trav = trav->next; in schema_all()
1036 while (trav != NULL) { in schema_all()
1037 if (node_is_equal(trav,"element")) { in schema_all()
1038 schema_element(sdl, tns, trav, cur_type, newModel); in schema_all()
1040 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in all", trav->name); in schema_all()
1042 trav = trav->next; in schema_all()
1060 xmlNodePtr trav; in schema_group() local
1145 trav = groupType->children; in schema_group()
1146 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_group()
1148 trav = trav->next; in schema_group()
1150 if (trav != NULL) { in schema_group()
1151 if (node_is_equal(trav,"choice")) { in schema_group()
1156 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_group()
1157 trav = trav->next; in schema_group()
1158 } else if (node_is_equal(trav,"sequence")) { in schema_group()
1163 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_group()
1164 trav = trav->next; in schema_group()
1165 } else if (node_is_equal(trav,"all")) { in schema_group()
1170 schema_all(sdl, tns, trav, cur_type, newModel); in schema_group()
1171 trav = trav->next; in schema_group()
1173 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in group", trav->name); in schema_group()
1176 if (trav != NULL) { in schema_group()
1177 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in group", trav->name); in schema_group()
1192 xmlNodePtr trav; in schema_choice() local
1207 trav = choiceType->children; in schema_choice()
1208 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_choice()
1210 trav = trav->next; in schema_choice()
1212 while (trav != NULL) { in schema_choice()
1213 if (node_is_equal(trav,"element")) { in schema_choice()
1214 schema_element(sdl, tns, trav, cur_type, newModel); in schema_choice()
1215 } else if (node_is_equal(trav,"group")) { in schema_choice()
1216 schema_group(sdl, tns, trav, cur_type, newModel); in schema_choice()
1217 } else if (node_is_equal(trav,"choice")) { in schema_choice()
1218 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_choice()
1219 } else if (node_is_equal(trav,"sequence")) { in schema_choice()
1220 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_choice()
1221 } else if (node_is_equal(trav,"any")) { in schema_choice()
1222 schema_any(sdl, tns, trav, cur_type, newModel); in schema_choice()
1224 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in choice", trav->name); in schema_choice()
1226 trav = trav->next; in schema_choice()
1242 xmlNodePtr trav; in schema_sequence() local
1257 trav = seqType->children; in schema_sequence()
1258 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_sequence()
1260 trav = trav->next; in schema_sequence()
1262 while (trav != NULL) { in schema_sequence()
1263 if (node_is_equal(trav,"element")) { in schema_sequence()
1264 schema_element(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1265 } else if (node_is_equal(trav,"group")) { in schema_sequence()
1266 schema_group(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1267 } else if (node_is_equal(trav,"choice")) { in schema_sequence()
1268 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1269 } else if (node_is_equal(trav,"sequence")) { in schema_sequence()
1270 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1271 } else if (node_is_equal(trav,"any")) { in schema_sequence()
1272 schema_any(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1274 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in sequence", trav->name); in schema_sequence()
1276 trav = trav->next; in schema_sequence()
1317 xmlNodePtr trav; in schema_complexContent() local
1319 trav = compCont->children; in schema_complexContent()
1320 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_complexContent()
1322 trav = trav->next; in schema_complexContent()
1324 if (trav != NULL) { in schema_complexContent()
1325 if (node_is_equal(trav, "restriction")) { in schema_complexContent()
1327 schema_restriction_complexContent(sdl, tns, trav, cur_type); in schema_complexContent()
1328 trav = trav->next; in schema_complexContent()
1329 } else if (node_is_equal(trav, "extension")) { in schema_complexContent()
1331 schema_extension_complexContent(sdl, tns, trav, cur_type); in schema_complexContent()
1332 trav = trav->next; in schema_complexContent()
1334 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in complexContent", trav->name); in schema_complexContent()
1339 if (trav != NULL) { in schema_complexContent()
1340 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in complexContent", trav->name); in schema_complexContent()
1360 xmlNodePtr trav; in schema_complexType() local
1420 trav = compType->children; in schema_complexType()
1421 if (trav != NULL && node_is_equal(trav, "annotation")) { in schema_complexType()
1423 trav = trav->next; in schema_complexType()
1425 if (trav != NULL) { in schema_complexType()
1426 if (node_is_equal(trav,"simpleContent")) { in schema_complexType()
1427 schema_simpleContent(sdl, tns, trav, cur_type); in schema_complexType()
1428 trav = trav->next; in schema_complexType()
1429 } else if (node_is_equal(trav,"complexContent")) { in schema_complexType()
1430 schema_complexContent(sdl, tns, trav, cur_type); in schema_complexType()
1431 trav = trav->next; in schema_complexType()
1433 if (node_is_equal(trav,"group")) { in schema_complexType()
1434 schema_group(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1435 trav = trav->next; in schema_complexType()
1436 } else if (node_is_equal(trav,"all")) { in schema_complexType()
1437 schema_all(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1438 trav = trav->next; in schema_complexType()
1439 } else if (node_is_equal(trav,"choice")) { in schema_complexType()
1440 schema_choice(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1441 trav = trav->next; in schema_complexType()
1442 } else if (node_is_equal(trav,"sequence")) { in schema_complexType()
1443 schema_sequence(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1444 trav = trav->next; in schema_complexType()
1446 while (trav != NULL) { in schema_complexType()
1447 if (node_is_equal(trav,"attribute")) { in schema_complexType()
1448 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1449 } else if (node_is_equal(trav,"attributeGroup")) { in schema_complexType()
1450 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1451 } else if (node_is_equal(trav,"anyAttribute")) { in schema_complexType()
1453 trav = trav->next; in schema_complexType()
1456 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in complexType", trav->name); in schema_complexType()
1458 trav = trav->next; in schema_complexType()
1462 if (trav != NULL) { in schema_complexType()
1463 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in complexType", trav->name); in schema_complexType()
1489 xmlNodePtr trav; in schema_element() local
1673 trav = element->children; in schema_element()
1674 if (trav != NULL && node_is_equal(trav, "annotation")) { in schema_element()
1676 trav = trav->next; in schema_element()
1678 if (trav != NULL) { in schema_element()
1679 if (node_is_equal(trav,"simpleType")) { in schema_element()
1685 schema_simpleType(sdl, tns, trav, cur_type); in schema_element()
1686 trav = trav->next; in schema_element()
1687 } else if (node_is_equal(trav,"complexType")) { in schema_element()
1693 schema_complexType(sdl, tns, trav, cur_type); in schema_element()
1694 trav = trav->next; in schema_element()
1697 while (trav != NULL) { in schema_element()
1698 if (node_is_equal(trav,"unique")) { in schema_element()
1700 } else if (node_is_equal(trav,"key")) { in schema_element()
1702 } else if (node_is_equal(trav,"keyref")) { in schema_element()
1705 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in element", trav->name); in schema_element()
1707 trav = trav->next; in schema_element()
1731 xmlNodePtr trav; in schema_attribute() local
1909 trav = attrType->children; in schema_attribute()
1910 if (trav != NULL && node_is_equal(trav, "annotation")) { in schema_attribute()
1912 trav = trav->next; in schema_attribute()
1914 if (trav != NULL) { in schema_attribute()
1915 if (node_is_equal(trav,"simpleType")) { in schema_attribute()
1936 schema_simpleType(sdl, tns, trav, dummy_type); in schema_attribute()
1940 trav = trav->next; in schema_attribute()
1943 if (trav != NULL) { in schema_attribute()
1944 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in attribute", trav->name); in schema_attribute()
1951 xmlNodePtr trav; in schema_attributeGroup() local
2017 trav = attrGroup->children; in schema_attributeGroup()
2018 if (trav != NULL && node_is_equal(trav, "annotation")) { in schema_attributeGroup()
2020 trav = trav->next; in schema_attributeGroup()
2022 while (trav != NULL) { in schema_attributeGroup()
2023 if (node_is_equal(trav,"attribute")) { in schema_attributeGroup()
2027 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_attributeGroup()
2028 } else if (node_is_equal(trav,"attributeGroup")) { in schema_attributeGroup()
2032 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_attributeGroup()
2033 } else if (node_is_equal(trav,"anyAttribute")) { in schema_attributeGroup()
2038 trav = trav->next; in schema_attributeGroup()
2041 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in attributeGroup", trav->name); in schema_attributeGroup()
2043 trav = trav->next; in schema_attributeGroup()
2045 if (trav != NULL) { in schema_attributeGroup()
2046 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in attributeGroup", trav->name); in schema_attributeGroup()