Lines Matching refs:trav

165 	xmlNodePtr trav;  in load_schema()  local
187 trav = schema->children; in load_schema()
188 while (trav != NULL) { in load_schema()
189 if (node_is_equal(trav,"include")) { in load_schema()
192 location = get_attribute(trav->properties, "schemaLocation"); in load_schema()
197 xmlChar *base = xmlNodeGetBase(trav->doc, trav); in load_schema()
200 uri = xmlBuildURI(location->children->content, trav->doc->URL); in load_schema()
209 } else if (node_is_equal(trav,"redefine")) { in load_schema()
212 location = get_attribute(trav->properties, "schemaLocation"); in load_schema()
217 xmlChar *base = xmlNodeGetBase(trav->doc, trav); in load_schema()
220 uri = xmlBuildURI(location->children->content, trav->doc->URL); in load_schema()
230 } else if (node_is_equal(trav,"import")) { in load_schema()
234 ns = get_attribute(trav->properties, "namespace"); in load_schema()
235 location = get_attribute(trav->properties, "schemaLocation"); in load_schema()
245 xmlChar *base = xmlNodeGetBase(trav->doc, trav); in load_schema()
248 uri = xmlBuildURI(location->children->content, trav->doc->URL); in load_schema()
256 } else if (node_is_equal(trav,"annotation")) { in load_schema()
268 trav = trav->next; in load_schema()
271 while (trav != NULL) { in load_schema()
272 if (node_is_equal(trav,"simpleType")) { in load_schema()
273 schema_simpleType(ctx->sdl, tns, trav, NULL); in load_schema()
274 } else if (node_is_equal(trav,"complexType")) { in load_schema()
275 schema_complexType(ctx->sdl, tns, trav, NULL); in load_schema()
276 } else if (node_is_equal(trav,"group")) { in load_schema()
277 schema_group(ctx->sdl, tns, trav, NULL, NULL); in load_schema()
278 } else if (node_is_equal(trav,"attributeGroup")) { in load_schema()
279 schema_attributeGroup(ctx->sdl, tns, trav, NULL, ctx); in load_schema()
280 } else if (node_is_equal(trav,"element")) { in load_schema()
281 schema_element(ctx->sdl, tns, trav, NULL, NULL); in load_schema()
282 } else if (node_is_equal(trav,"attribute")) { in load_schema()
283 schema_attribute(ctx->sdl, tns, trav, NULL, ctx); in load_schema()
284 } else if (node_is_equal(trav,"notation")) { in load_schema()
286 } else if (node_is_equal(trav,"annotation")) { in load_schema()
289 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in schema", trav->name); in load_schema()
291 trav = trav->next; in load_schema()
307 xmlNodePtr trav; in schema_simpleType() local
373 trav = simpleType->children; in schema_simpleType()
374 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_simpleType()
376 trav = trav->next; in schema_simpleType()
378 if (trav != NULL) { in schema_simpleType()
379 if (node_is_equal(trav,"restriction")) { in schema_simpleType()
380 schema_restriction_simpleContent(sdl, tns, trav, cur_type, 1); in schema_simpleType()
381 trav = trav->next; in schema_simpleType()
382 } else if (node_is_equal(trav,"list")) { in schema_simpleType()
384 schema_list(sdl, tns, trav, cur_type); in schema_simpleType()
385 trav = trav->next; in schema_simpleType()
386 } else if (node_is_equal(trav,"union")) { in schema_simpleType()
388 schema_union(sdl, tns, trav, cur_type); in schema_simpleType()
389 trav = trav->next; in schema_simpleType()
391 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in simpleType", trav->name); in schema_simpleType()
396 if (trav != NULL) { in schema_simpleType()
397 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in simpleType", trav->name); in schema_simpleType()
413 xmlNodePtr trav; in schema_list() local
444 trav = listType->children; in schema_list()
445 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_list()
447 trav = trav->next; in schema_list()
449 if (trav != NULL && node_is_equal(trav,"simpleType")) { in schema_list()
476 schema_simpleType(sdl, tns, trav, newType); in schema_list()
478 trav = trav->next; in schema_list()
480 if (trav != NULL) { in schema_list()
481 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in list", trav->name); in schema_list()
496 xmlNodePtr trav; in schema_union() local
544 trav = unionType->children; in schema_union()
545 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_union()
547 trav = trav->next; in schema_union()
549 while (trav != NULL) { in schema_union()
550 if (node_is_equal(trav,"simpleType")) { in schema_union()
573 schema_simpleType(sdl, tns, trav, newType); in schema_union()
576 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in union", trav->name); in schema_union()
578 trav = trav->next; in schema_union()
580 if (trav != NULL) { in schema_union()
581 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in union", trav->name); in schema_union()
595 xmlNodePtr trav; in schema_simpleContent() local
597 trav = simpCompType->children; in schema_simpleContent()
598 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_simpleContent()
600 trav = trav->next; in schema_simpleContent()
602 if (trav != NULL) { in schema_simpleContent()
603 if (node_is_equal(trav, "restriction")) { in schema_simpleContent()
605 schema_restriction_simpleContent(sdl, tns, trav, cur_type, 0); in schema_simpleContent()
606 trav = trav->next; in schema_simpleContent()
607 } else if (node_is_equal(trav, "extension")) { in schema_simpleContent()
609 schema_extension_simpleContent(sdl, tns, trav, cur_type); in schema_simpleContent()
610 trav = trav->next; in schema_simpleContent()
612 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in simpleContent", trav->name); in schema_simpleContent()
617 if (trav != NULL) { in schema_simpleContent()
618 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in simpleContent", trav->name); in schema_simpleContent()
640 xmlNodePtr trav; in schema_restriction_simpleContent() local
664 trav = restType->children; in schema_restriction_simpleContent()
665 if (trav != NULL && node_is_equal(trav, "annotation")) { in schema_restriction_simpleContent()
667 trav = trav->next; in schema_restriction_simpleContent()
669 if (trav != NULL && node_is_equal(trav, "simpleType")) { in schema_restriction_simpleContent()
670 schema_simpleType(sdl, tns, trav, cur_type); in schema_restriction_simpleContent()
671 trav = trav->next; in schema_restriction_simpleContent()
673 while (trav != NULL) { in schema_restriction_simpleContent()
674 if (node_is_equal(trav, "minExclusive")) { in schema_restriction_simpleContent()
675 schema_restriction_var_int(trav, &cur_type->restrictions->minExclusive); in schema_restriction_simpleContent()
676 } else if (node_is_equal(trav, "minInclusive")) { in schema_restriction_simpleContent()
677 schema_restriction_var_int(trav, &cur_type->restrictions->minInclusive); in schema_restriction_simpleContent()
678 } else if (node_is_equal(trav, "maxExclusive")) { in schema_restriction_simpleContent()
679 schema_restriction_var_int(trav, &cur_type->restrictions->maxExclusive); in schema_restriction_simpleContent()
680 } else if (node_is_equal(trav, "maxInclusive")) { in schema_restriction_simpleContent()
681 schema_restriction_var_int(trav, &cur_type->restrictions->maxInclusive); in schema_restriction_simpleContent()
682 } else if (node_is_equal(trav, "totalDigits")) { in schema_restriction_simpleContent()
683 schema_restriction_var_int(trav, &cur_type->restrictions->totalDigits); in schema_restriction_simpleContent()
684 } else if (node_is_equal(trav, "fractionDigits")) { in schema_restriction_simpleContent()
685 schema_restriction_var_int(trav, &cur_type->restrictions->fractionDigits); in schema_restriction_simpleContent()
686 } else if (node_is_equal(trav, "length")) { in schema_restriction_simpleContent()
687 schema_restriction_var_int(trav, &cur_type->restrictions->length); in schema_restriction_simpleContent()
688 } else if (node_is_equal(trav, "minLength")) { in schema_restriction_simpleContent()
689 schema_restriction_var_int(trav, &cur_type->restrictions->minLength); in schema_restriction_simpleContent()
690 } else if (node_is_equal(trav, "maxLength")) { in schema_restriction_simpleContent()
691 schema_restriction_var_int(trav, &cur_type->restrictions->maxLength); in schema_restriction_simpleContent()
692 } else if (node_is_equal(trav, "whiteSpace")) { in schema_restriction_simpleContent()
693 schema_restriction_var_char(trav, &cur_type->restrictions->whiteSpace); in schema_restriction_simpleContent()
694 } else if (node_is_equal(trav, "pattern")) { in schema_restriction_simpleContent()
695 schema_restriction_var_char(trav, &cur_type->restrictions->pattern); in schema_restriction_simpleContent()
696 } else if (node_is_equal(trav, "enumeration")) { in schema_restriction_simpleContent()
699 schema_restriction_var_char(trav, &enumval); in schema_restriction_simpleContent()
710 trav = trav->next; in schema_restriction_simpleContent()
713 while (trav != NULL) { in schema_restriction_simpleContent()
714 if (node_is_equal(trav,"attribute")) { in schema_restriction_simpleContent()
715 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_restriction_simpleContent()
716 } else if (node_is_equal(trav,"attributeGroup")) { in schema_restriction_simpleContent()
717 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_restriction_simpleContent()
718 } else if (node_is_equal(trav,"anyAttribute")) { in schema_restriction_simpleContent()
720 trav = trav->next; in schema_restriction_simpleContent()
723 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in restriction", trav->name); in schema_restriction_simpleContent()
725 trav = trav->next; in schema_restriction_simpleContent()
728 if (trav != NULL) { in schema_restriction_simpleContent()
729 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in restriction", trav->name); in schema_restriction_simpleContent()
746 xmlNodePtr trav; in schema_restriction_complexContent() local
764 trav = restType->children; in schema_restriction_complexContent()
765 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_restriction_complexContent()
767 trav = trav->next; in schema_restriction_complexContent()
769 if (trav != NULL) { in schema_restriction_complexContent()
770 if (node_is_equal(trav,"group")) { in schema_restriction_complexContent()
771 schema_group(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
772 trav = trav->next; in schema_restriction_complexContent()
773 } else if (node_is_equal(trav,"all")) { in schema_restriction_complexContent()
774 schema_all(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
775 trav = trav->next; in schema_restriction_complexContent()
776 } else if (node_is_equal(trav,"choice")) { in schema_restriction_complexContent()
777 schema_choice(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
778 trav = trav->next; in schema_restriction_complexContent()
779 } else if (node_is_equal(trav,"sequence")) { in schema_restriction_complexContent()
780 schema_sequence(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
781 trav = trav->next; in schema_restriction_complexContent()
784 while (trav != NULL) { in schema_restriction_complexContent()
785 if (node_is_equal(trav,"attribute")) { in schema_restriction_complexContent()
786 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
787 } else if (node_is_equal(trav,"attributeGroup")) { in schema_restriction_complexContent()
788 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
789 } else if (node_is_equal(trav,"anyAttribute")) { in schema_restriction_complexContent()
791 trav = trav->next; in schema_restriction_complexContent()
794 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in restriction", trav->name); in schema_restriction_complexContent()
796 trav = trav->next; in schema_restriction_complexContent()
798 if (trav != NULL) { in schema_restriction_complexContent()
799 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in restriction", trav->name); in schema_restriction_complexContent()
870 xmlNodePtr trav; in schema_extension_simpleContent() local
889 trav = extType->children; in schema_extension_simpleContent()
890 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_extension_simpleContent()
892 trav = trav->next; in schema_extension_simpleContent()
894 while (trav != NULL) { in schema_extension_simpleContent()
895 if (node_is_equal(trav,"attribute")) { in schema_extension_simpleContent()
896 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_extension_simpleContent()
897 } else if (node_is_equal(trav,"attributeGroup")) { in schema_extension_simpleContent()
898 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_extension_simpleContent()
899 } else if (node_is_equal(trav,"anyAttribute")) { in schema_extension_simpleContent()
901 trav = trav->next; in schema_extension_simpleContent()
904 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in extension", trav->name); in schema_extension_simpleContent()
906 trav = trav->next; in schema_extension_simpleContent()
908 if (trav != NULL) { in schema_extension_simpleContent()
909 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in extension", trav->name); in schema_extension_simpleContent()
925 xmlNodePtr trav; in schema_extension_complexContent() local
944 trav = extType->children; in schema_extension_complexContent()
945 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_extension_complexContent()
947 trav = trav->next; in schema_extension_complexContent()
949 if (trav != NULL) { in schema_extension_complexContent()
950 if (node_is_equal(trav,"group")) { in schema_extension_complexContent()
951 schema_group(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
952 trav = trav->next; in schema_extension_complexContent()
953 } else if (node_is_equal(trav,"all")) { in schema_extension_complexContent()
954 schema_all(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
955 trav = trav->next; in schema_extension_complexContent()
956 } else if (node_is_equal(trav,"choice")) { in schema_extension_complexContent()
957 schema_choice(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
958 trav = trav->next; in schema_extension_complexContent()
959 } else if (node_is_equal(trav,"sequence")) { in schema_extension_complexContent()
960 schema_sequence(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
961 trav = trav->next; in schema_extension_complexContent()
964 while (trav != NULL) { in schema_extension_complexContent()
965 if (node_is_equal(trav,"attribute")) { in schema_extension_complexContent()
966 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
967 } else if (node_is_equal(trav,"attributeGroup")) { in schema_extension_complexContent()
968 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
969 } else if (node_is_equal(trav,"anyAttribute")) { in schema_extension_complexContent()
971 trav = trav->next; in schema_extension_complexContent()
974 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in extension", trav->name); in schema_extension_complexContent()
976 trav = trav->next; in schema_extension_complexContent()
978 if (trav != NULL) { in schema_extension_complexContent()
979 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in extension", trav->name); in schema_extension_complexContent()
1017 xmlNodePtr trav; in schema_all() local
1032 trav = all->children; in schema_all()
1033 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_all()
1035 trav = trav->next; in schema_all()
1037 while (trav != NULL) { in schema_all()
1038 if (node_is_equal(trav,"element")) { in schema_all()
1039 schema_element(sdl, tns, trav, cur_type, newModel); in schema_all()
1041 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in all", trav->name); in schema_all()
1043 trav = trav->next; in schema_all()
1061 xmlNodePtr trav; in schema_group() local
1146 trav = groupType->children; in schema_group()
1147 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_group()
1149 trav = trav->next; in schema_group()
1151 if (trav != NULL) { in schema_group()
1152 if (node_is_equal(trav,"choice")) { in schema_group()
1157 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_group()
1158 trav = trav->next; in schema_group()
1159 } else if (node_is_equal(trav,"sequence")) { in schema_group()
1164 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_group()
1165 trav = trav->next; in schema_group()
1166 } else if (node_is_equal(trav,"all")) { in schema_group()
1171 schema_all(sdl, tns, trav, cur_type, newModel); in schema_group()
1172 trav = trav->next; in schema_group()
1174 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in group", trav->name); in schema_group()
1177 if (trav != NULL) { in schema_group()
1178 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in group", trav->name); in schema_group()
1193 xmlNodePtr trav; in schema_choice() local
1208 trav = choiceType->children; in schema_choice()
1209 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_choice()
1211 trav = trav->next; in schema_choice()
1213 while (trav != NULL) { in schema_choice()
1214 if (node_is_equal(trav,"element")) { in schema_choice()
1215 schema_element(sdl, tns, trav, cur_type, newModel); in schema_choice()
1216 } else if (node_is_equal(trav,"group")) { in schema_choice()
1217 schema_group(sdl, tns, trav, cur_type, newModel); in schema_choice()
1218 } else if (node_is_equal(trav,"choice")) { in schema_choice()
1219 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_choice()
1220 } else if (node_is_equal(trav,"sequence")) { in schema_choice()
1221 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_choice()
1222 } else if (node_is_equal(trav,"any")) { in schema_choice()
1223 schema_any(sdl, tns, trav, cur_type, newModel); in schema_choice()
1225 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in choice", trav->name); in schema_choice()
1227 trav = trav->next; in schema_choice()
1243 xmlNodePtr trav; in schema_sequence() local
1258 trav = seqType->children; in schema_sequence()
1259 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_sequence()
1261 trav = trav->next; in schema_sequence()
1263 while (trav != NULL) { in schema_sequence()
1264 if (node_is_equal(trav,"element")) { in schema_sequence()
1265 schema_element(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1266 } else if (node_is_equal(trav,"group")) { in schema_sequence()
1267 schema_group(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1268 } else if (node_is_equal(trav,"choice")) { in schema_sequence()
1269 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1270 } else if (node_is_equal(trav,"sequence")) { in schema_sequence()
1271 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1272 } else if (node_is_equal(trav,"any")) { in schema_sequence()
1273 schema_any(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1275 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in sequence", trav->name); in schema_sequence()
1277 trav = trav->next; in schema_sequence()
1318 xmlNodePtr trav; in schema_complexContent() local
1320 trav = compCont->children; in schema_complexContent()
1321 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_complexContent()
1323 trav = trav->next; in schema_complexContent()
1325 if (trav != NULL) { in schema_complexContent()
1326 if (node_is_equal(trav, "restriction")) { in schema_complexContent()
1328 schema_restriction_complexContent(sdl, tns, trav, cur_type); in schema_complexContent()
1329 trav = trav->next; in schema_complexContent()
1330 } else if (node_is_equal(trav, "extension")) { in schema_complexContent()
1332 schema_extension_complexContent(sdl, tns, trav, cur_type); in schema_complexContent()
1333 trav = trav->next; in schema_complexContent()
1335 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in complexContent", trav->name); in schema_complexContent()
1340 if (trav != NULL) { in schema_complexContent()
1341 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in complexContent", trav->name); in schema_complexContent()
1361 xmlNodePtr trav; in schema_complexType() local
1421 trav = compType->children; in schema_complexType()
1422 if (trav != NULL && node_is_equal(trav, "annotation")) { in schema_complexType()
1424 trav = trav->next; in schema_complexType()
1426 if (trav != NULL) { in schema_complexType()
1427 if (node_is_equal(trav,"simpleContent")) { in schema_complexType()
1428 schema_simpleContent(sdl, tns, trav, cur_type); in schema_complexType()
1429 trav = trav->next; in schema_complexType()
1430 } else if (node_is_equal(trav,"complexContent")) { in schema_complexType()
1431 schema_complexContent(sdl, tns, trav, cur_type); in schema_complexType()
1432 trav = trav->next; in schema_complexType()
1434 if (node_is_equal(trav,"group")) { in schema_complexType()
1435 schema_group(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1436 trav = trav->next; in schema_complexType()
1437 } else if (node_is_equal(trav,"all")) { in schema_complexType()
1438 schema_all(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1439 trav = trav->next; in schema_complexType()
1440 } else if (node_is_equal(trav,"choice")) { in schema_complexType()
1441 schema_choice(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1442 trav = trav->next; in schema_complexType()
1443 } else if (node_is_equal(trav,"sequence")) { in schema_complexType()
1444 schema_sequence(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1445 trav = trav->next; in schema_complexType()
1447 while (trav != NULL) { in schema_complexType()
1448 if (node_is_equal(trav,"attribute")) { in schema_complexType()
1449 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1450 } else if (node_is_equal(trav,"attributeGroup")) { in schema_complexType()
1451 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1452 } else if (node_is_equal(trav,"anyAttribute")) { in schema_complexType()
1454 trav = trav->next; in schema_complexType()
1457 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in complexType", trav->name); in schema_complexType()
1459 trav = trav->next; in schema_complexType()
1463 if (trav != NULL) { in schema_complexType()
1464 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in complexType", trav->name); in schema_complexType()
1490 xmlNodePtr trav; in schema_element() local
1676 trav = element->children; in schema_element()
1677 if (trav != NULL && node_is_equal(trav, "annotation")) { in schema_element()
1679 trav = trav->next; in schema_element()
1681 if (trav != NULL) { in schema_element()
1682 if (node_is_equal(trav,"simpleType")) { in schema_element()
1688 schema_simpleType(sdl, tns, trav, cur_type); in schema_element()
1689 trav = trav->next; in schema_element()
1690 } else if (node_is_equal(trav,"complexType")) { in schema_element()
1696 schema_complexType(sdl, tns, trav, cur_type); in schema_element()
1697 trav = trav->next; in schema_element()
1700 while (trav != NULL) { in schema_element()
1701 if (node_is_equal(trav,"unique")) { in schema_element()
1703 } else if (node_is_equal(trav,"key")) { in schema_element()
1705 } else if (node_is_equal(trav,"keyref")) { in schema_element()
1708 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in element", trav->name); in schema_element()
1710 trav = trav->next; in schema_element()
1734 xmlNodePtr trav; in schema_attribute() local
1911 trav = attrType->children; in schema_attribute()
1912 if (trav != NULL && node_is_equal(trav, "annotation")) { in schema_attribute()
1914 trav = trav->next; in schema_attribute()
1916 if (trav != NULL) { in schema_attribute()
1917 if (node_is_equal(trav,"simpleType")) { in schema_attribute()
1938 schema_simpleType(sdl, tns, trav, dummy_type); in schema_attribute()
1942 trav = trav->next; in schema_attribute()
1945 if (trav != NULL) { in schema_attribute()
1946 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in attribute", trav->name); in schema_attribute()
1953 xmlNodePtr trav; in schema_attributeGroup() local
2019 trav = attrGroup->children; in schema_attributeGroup()
2020 if (trav != NULL && node_is_equal(trav, "annotation")) { in schema_attributeGroup()
2022 trav = trav->next; in schema_attributeGroup()
2024 while (trav != NULL) { in schema_attributeGroup()
2025 if (node_is_equal(trav,"attribute")) { in schema_attributeGroup()
2029 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_attributeGroup()
2030 } else if (node_is_equal(trav,"attributeGroup")) { in schema_attributeGroup()
2034 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_attributeGroup()
2035 } else if (node_is_equal(trav,"anyAttribute")) { in schema_attributeGroup()
2040 trav = trav->next; in schema_attributeGroup()
2043 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in attributeGroup", trav->name); in schema_attributeGroup()
2045 trav = trav->next; in schema_attributeGroup()
2047 if (trav != NULL) { in schema_attributeGroup()
2048 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in attributeGroup", trav->name); in schema_attributeGroup()