Lines Matching refs:trav

162 	xmlNodePtr trav;  in load_schema()  local
184 trav = schema->children; in load_schema()
185 while (trav != NULL) { in load_schema()
186 if (node_is_equal(trav,"include")) { in load_schema()
189 location = get_attribute(trav->properties, "schemaLocation"); in load_schema()
194 xmlChar *base = xmlNodeGetBase(trav->doc, trav); in load_schema()
197 uri = xmlBuildURI(location->children->content, trav->doc->URL); in load_schema()
206 } else if (node_is_equal(trav,"redefine")) { in load_schema()
209 location = get_attribute(trav->properties, "schemaLocation"); in load_schema()
214 xmlChar *base = xmlNodeGetBase(trav->doc, trav); in load_schema()
217 uri = xmlBuildURI(location->children->content, trav->doc->URL); in load_schema()
227 } else if (node_is_equal(trav,"import")) { in load_schema()
231 ns = get_attribute(trav->properties, "namespace"); in load_schema()
232 location = get_attribute(trav->properties, "schemaLocation"); in load_schema()
242 xmlChar *base = xmlNodeGetBase(trav->doc, trav); in load_schema()
245 uri = xmlBuildURI(location->children->content, trav->doc->URL); in load_schema()
253 } else if (node_is_equal(trav,"annotation")) { in load_schema()
265 trav = trav->next; in load_schema()
268 while (trav != NULL) { in load_schema()
269 if (node_is_equal(trav,"simpleType")) { in load_schema()
270 schema_simpleType(ctx->sdl, tns, trav, NULL); in load_schema()
271 } else if (node_is_equal(trav,"complexType")) { in load_schema()
272 schema_complexType(ctx->sdl, tns, trav, NULL); in load_schema()
273 } else if (node_is_equal(trav,"group")) { in load_schema()
274 schema_group(ctx->sdl, tns, trav, NULL, NULL); in load_schema()
275 } else if (node_is_equal(trav,"attributeGroup")) { in load_schema()
276 schema_attributeGroup(ctx->sdl, tns, trav, NULL, ctx); in load_schema()
277 } else if (node_is_equal(trav,"element")) { in load_schema()
278 schema_element(ctx->sdl, tns, trav, NULL, NULL); in load_schema()
279 } else if (node_is_equal(trav,"attribute")) { in load_schema()
280 schema_attribute(ctx->sdl, tns, trav, NULL, ctx); in load_schema()
281 } else if (node_is_equal(trav,"notation")) { in load_schema()
283 } else if (node_is_equal(trav,"annotation")) { in load_schema()
286 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in schema", trav->name); in load_schema()
288 trav = trav->next; in load_schema()
304 xmlNodePtr trav; in schema_simpleType() local
370 trav = simpleType->children; in schema_simpleType()
371 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_simpleType()
373 trav = trav->next; in schema_simpleType()
375 if (trav != NULL) { in schema_simpleType()
376 if (node_is_equal(trav,"restriction")) { in schema_simpleType()
377 schema_restriction_simpleContent(sdl, tns, trav, cur_type, 1); in schema_simpleType()
378 trav = trav->next; in schema_simpleType()
379 } else if (node_is_equal(trav,"list")) { in schema_simpleType()
381 schema_list(sdl, tns, trav, cur_type); in schema_simpleType()
382 trav = trav->next; in schema_simpleType()
383 } else if (node_is_equal(trav,"union")) { in schema_simpleType()
385 schema_union(sdl, tns, trav, cur_type); in schema_simpleType()
386 trav = trav->next; in schema_simpleType()
388 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in simpleType", trav->name); in schema_simpleType()
393 if (trav != NULL) { in schema_simpleType()
394 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in simpleType", trav->name); in schema_simpleType()
410 xmlNodePtr trav; in schema_list() local
441 trav = listType->children; in schema_list()
442 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_list()
444 trav = trav->next; in schema_list()
446 if (trav != NULL && node_is_equal(trav,"simpleType")) { in schema_list()
473 schema_simpleType(sdl, tns, trav, newType); in schema_list()
475 trav = trav->next; in schema_list()
477 if (trav != NULL) { in schema_list()
478 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in list", trav->name); in schema_list()
493 xmlNodePtr trav; in schema_union() local
541 trav = unionType->children; in schema_union()
542 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_union()
544 trav = trav->next; in schema_union()
546 while (trav != NULL) { in schema_union()
547 if (node_is_equal(trav,"simpleType")) { in schema_union()
570 schema_simpleType(sdl, tns, trav, newType); in schema_union()
573 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in union", trav->name); in schema_union()
575 trav = trav->next; in schema_union()
577 if (trav != NULL) { in schema_union()
578 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in union", trav->name); in schema_union()
592 xmlNodePtr trav; in schema_simpleContent() local
594 trav = simpCompType->children; in schema_simpleContent()
595 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_simpleContent()
597 trav = trav->next; in schema_simpleContent()
599 if (trav != NULL) { in schema_simpleContent()
600 if (node_is_equal(trav, "restriction")) { in schema_simpleContent()
602 schema_restriction_simpleContent(sdl, tns, trav, cur_type, 0); in schema_simpleContent()
603 trav = trav->next; in schema_simpleContent()
604 } else if (node_is_equal(trav, "extension")) { in schema_simpleContent()
606 schema_extension_simpleContent(sdl, tns, trav, cur_type); in schema_simpleContent()
607 trav = trav->next; in schema_simpleContent()
609 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in simpleContent", trav->name); in schema_simpleContent()
614 if (trav != NULL) { in schema_simpleContent()
615 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in simpleContent", trav->name); in schema_simpleContent()
637 xmlNodePtr trav; in schema_restriction_simpleContent() local
661 trav = restType->children; in schema_restriction_simpleContent()
662 if (trav != NULL && node_is_equal(trav, "annotation")) { in schema_restriction_simpleContent()
664 trav = trav->next; in schema_restriction_simpleContent()
666 if (trav != NULL && node_is_equal(trav, "simpleType")) { in schema_restriction_simpleContent()
667 schema_simpleType(sdl, tns, trav, cur_type); in schema_restriction_simpleContent()
668 trav = trav->next; in schema_restriction_simpleContent()
670 while (trav != NULL) { in schema_restriction_simpleContent()
671 if (node_is_equal(trav, "minExclusive")) { in schema_restriction_simpleContent()
672 schema_restriction_var_int(trav, &cur_type->restrictions->minExclusive); in schema_restriction_simpleContent()
673 } else if (node_is_equal(trav, "minInclusive")) { in schema_restriction_simpleContent()
674 schema_restriction_var_int(trav, &cur_type->restrictions->minInclusive); in schema_restriction_simpleContent()
675 } else if (node_is_equal(trav, "maxExclusive")) { in schema_restriction_simpleContent()
676 schema_restriction_var_int(trav, &cur_type->restrictions->maxExclusive); in schema_restriction_simpleContent()
677 } else if (node_is_equal(trav, "maxInclusive")) { in schema_restriction_simpleContent()
678 schema_restriction_var_int(trav, &cur_type->restrictions->maxInclusive); in schema_restriction_simpleContent()
679 } else if (node_is_equal(trav, "totalDigits")) { in schema_restriction_simpleContent()
680 schema_restriction_var_int(trav, &cur_type->restrictions->totalDigits); in schema_restriction_simpleContent()
681 } else if (node_is_equal(trav, "fractionDigits")) { in schema_restriction_simpleContent()
682 schema_restriction_var_int(trav, &cur_type->restrictions->fractionDigits); in schema_restriction_simpleContent()
683 } else if (node_is_equal(trav, "length")) { in schema_restriction_simpleContent()
684 schema_restriction_var_int(trav, &cur_type->restrictions->length); in schema_restriction_simpleContent()
685 } else if (node_is_equal(trav, "minLength")) { in schema_restriction_simpleContent()
686 schema_restriction_var_int(trav, &cur_type->restrictions->minLength); in schema_restriction_simpleContent()
687 } else if (node_is_equal(trav, "maxLength")) { in schema_restriction_simpleContent()
688 schema_restriction_var_int(trav, &cur_type->restrictions->maxLength); in schema_restriction_simpleContent()
689 } else if (node_is_equal(trav, "whiteSpace")) { in schema_restriction_simpleContent()
690 schema_restriction_var_char(trav, &cur_type->restrictions->whiteSpace); in schema_restriction_simpleContent()
691 } else if (node_is_equal(trav, "pattern")) { in schema_restriction_simpleContent()
692 schema_restriction_var_char(trav, &cur_type->restrictions->pattern); in schema_restriction_simpleContent()
693 } else if (node_is_equal(trav, "enumeration")) { in schema_restriction_simpleContent()
696 schema_restriction_var_char(trav, &enumval); in schema_restriction_simpleContent()
707 trav = trav->next; in schema_restriction_simpleContent()
710 while (trav != NULL) { in schema_restriction_simpleContent()
711 if (node_is_equal(trav,"attribute")) { in schema_restriction_simpleContent()
712 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_restriction_simpleContent()
713 } else if (node_is_equal(trav,"attributeGroup")) { in schema_restriction_simpleContent()
714 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_restriction_simpleContent()
715 } else if (node_is_equal(trav,"anyAttribute")) { in schema_restriction_simpleContent()
717 trav = trav->next; in schema_restriction_simpleContent()
720 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in restriction", trav->name); in schema_restriction_simpleContent()
722 trav = trav->next; in schema_restriction_simpleContent()
725 if (trav != NULL) { in schema_restriction_simpleContent()
726 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in restriction", trav->name); in schema_restriction_simpleContent()
743 xmlNodePtr trav; in schema_restriction_complexContent() local
761 trav = restType->children; in schema_restriction_complexContent()
762 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_restriction_complexContent()
764 trav = trav->next; in schema_restriction_complexContent()
766 if (trav != NULL) { in schema_restriction_complexContent()
767 if (node_is_equal(trav,"group")) { in schema_restriction_complexContent()
768 schema_group(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
769 trav = trav->next; in schema_restriction_complexContent()
770 } else if (node_is_equal(trav,"all")) { in schema_restriction_complexContent()
771 schema_all(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,"choice")) { in schema_restriction_complexContent()
774 schema_choice(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,"sequence")) { in schema_restriction_complexContent()
777 schema_sequence(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
778 trav = trav->next; in schema_restriction_complexContent()
781 while (trav != NULL) { in schema_restriction_complexContent()
782 if (node_is_equal(trav,"attribute")) { in schema_restriction_complexContent()
783 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
784 } else if (node_is_equal(trav,"attributeGroup")) { in schema_restriction_complexContent()
785 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_restriction_complexContent()
786 } else if (node_is_equal(trav,"anyAttribute")) { in schema_restriction_complexContent()
788 trav = trav->next; in schema_restriction_complexContent()
791 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in restriction", trav->name); in schema_restriction_complexContent()
793 trav = trav->next; in schema_restriction_complexContent()
795 if (trav != NULL) { in schema_restriction_complexContent()
796 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in restriction", trav->name); in schema_restriction_complexContent()
867 xmlNodePtr trav; in schema_extension_simpleContent() local
886 trav = extType->children; in schema_extension_simpleContent()
887 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_extension_simpleContent()
889 trav = trav->next; in schema_extension_simpleContent()
891 while (trav != NULL) { in schema_extension_simpleContent()
892 if (node_is_equal(trav,"attribute")) { in schema_extension_simpleContent()
893 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_extension_simpleContent()
894 } else if (node_is_equal(trav,"attributeGroup")) { in schema_extension_simpleContent()
895 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_extension_simpleContent()
896 } else if (node_is_equal(trav,"anyAttribute")) { in schema_extension_simpleContent()
898 trav = trav->next; in schema_extension_simpleContent()
901 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in extension", trav->name); in schema_extension_simpleContent()
903 trav = trav->next; in schema_extension_simpleContent()
905 if (trav != NULL) { in schema_extension_simpleContent()
906 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in extension", trav->name); in schema_extension_simpleContent()
922 xmlNodePtr trav; in schema_extension_complexContent() local
941 trav = extType->children; in schema_extension_complexContent()
942 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_extension_complexContent()
944 trav = trav->next; in schema_extension_complexContent()
946 if (trav != NULL) { in schema_extension_complexContent()
947 if (node_is_equal(trav,"group")) { in schema_extension_complexContent()
948 schema_group(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
949 trav = trav->next; in schema_extension_complexContent()
950 } else if (node_is_equal(trav,"all")) { in schema_extension_complexContent()
951 schema_all(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,"choice")) { in schema_extension_complexContent()
954 schema_choice(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,"sequence")) { in schema_extension_complexContent()
957 schema_sequence(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
958 trav = trav->next; in schema_extension_complexContent()
961 while (trav != NULL) { in schema_extension_complexContent()
962 if (node_is_equal(trav,"attribute")) { in schema_extension_complexContent()
963 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
964 } else if (node_is_equal(trav,"attributeGroup")) { in schema_extension_complexContent()
965 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_extension_complexContent()
966 } else if (node_is_equal(trav,"anyAttribute")) { in schema_extension_complexContent()
968 trav = trav->next; in schema_extension_complexContent()
971 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in extension", trav->name); in schema_extension_complexContent()
973 trav = trav->next; in schema_extension_complexContent()
975 if (trav != NULL) { in schema_extension_complexContent()
976 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in extension", trav->name); in schema_extension_complexContent()
1014 xmlNodePtr trav; in schema_all() local
1029 trav = all->children; in schema_all()
1030 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_all()
1032 trav = trav->next; in schema_all()
1034 while (trav != NULL) { in schema_all()
1035 if (node_is_equal(trav,"element")) { in schema_all()
1036 schema_element(sdl, tns, trav, cur_type, newModel); in schema_all()
1038 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in all", trav->name); in schema_all()
1040 trav = trav->next; in schema_all()
1058 xmlNodePtr trav; in schema_group() local
1143 trav = groupType->children; in schema_group()
1144 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_group()
1146 trav = trav->next; in schema_group()
1148 if (trav != NULL) { in schema_group()
1149 if (node_is_equal(trav,"choice")) { in schema_group()
1154 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_group()
1155 trav = trav->next; in schema_group()
1156 } else if (node_is_equal(trav,"sequence")) { in schema_group()
1161 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_group()
1162 trav = trav->next; in schema_group()
1163 } else if (node_is_equal(trav,"all")) { in schema_group()
1168 schema_all(sdl, tns, trav, cur_type, newModel); in schema_group()
1169 trav = trav->next; in schema_group()
1171 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in group", trav->name); in schema_group()
1174 if (trav != NULL) { in schema_group()
1175 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in group", trav->name); in schema_group()
1190 xmlNodePtr trav; in schema_choice() local
1205 trav = choiceType->children; in schema_choice()
1206 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_choice()
1208 trav = trav->next; in schema_choice()
1210 while (trav != NULL) { in schema_choice()
1211 if (node_is_equal(trav,"element")) { in schema_choice()
1212 schema_element(sdl, tns, trav, cur_type, newModel); in schema_choice()
1213 } else if (node_is_equal(trav,"group")) { in schema_choice()
1214 schema_group(sdl, tns, trav, cur_type, newModel); in schema_choice()
1215 } else if (node_is_equal(trav,"choice")) { in schema_choice()
1216 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_choice()
1217 } else if (node_is_equal(trav,"sequence")) { in schema_choice()
1218 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_choice()
1219 } else if (node_is_equal(trav,"any")) { in schema_choice()
1220 schema_any(sdl, tns, trav, cur_type, newModel); in schema_choice()
1222 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in choice", trav->name); in schema_choice()
1224 trav = trav->next; in schema_choice()
1240 xmlNodePtr trav; in schema_sequence() local
1255 trav = seqType->children; in schema_sequence()
1256 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_sequence()
1258 trav = trav->next; in schema_sequence()
1260 while (trav != NULL) { in schema_sequence()
1261 if (node_is_equal(trav,"element")) { in schema_sequence()
1262 schema_element(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1263 } else if (node_is_equal(trav,"group")) { in schema_sequence()
1264 schema_group(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1265 } else if (node_is_equal(trav,"choice")) { in schema_sequence()
1266 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1267 } else if (node_is_equal(trav,"sequence")) { in schema_sequence()
1268 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1269 } else if (node_is_equal(trav,"any")) { in schema_sequence()
1270 schema_any(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1272 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in sequence", trav->name); in schema_sequence()
1274 trav = trav->next; in schema_sequence()
1315 xmlNodePtr trav; in schema_complexContent() local
1317 trav = compCont->children; in schema_complexContent()
1318 if (trav != NULL && node_is_equal(trav,"annotation")) { in schema_complexContent()
1320 trav = trav->next; in schema_complexContent()
1322 if (trav != NULL) { in schema_complexContent()
1323 if (node_is_equal(trav, "restriction")) { in schema_complexContent()
1325 schema_restriction_complexContent(sdl, tns, trav, cur_type); in schema_complexContent()
1326 trav = trav->next; in schema_complexContent()
1327 } else if (node_is_equal(trav, "extension")) { in schema_complexContent()
1329 schema_extension_complexContent(sdl, tns, trav, cur_type); in schema_complexContent()
1330 trav = trav->next; in schema_complexContent()
1332 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in complexContent", trav->name); in schema_complexContent()
1337 if (trav != NULL) { in schema_complexContent()
1338 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in complexContent", trav->name); in schema_complexContent()
1358 xmlNodePtr trav; in schema_complexType() local
1418 trav = compType->children; in schema_complexType()
1419 if (trav != NULL && node_is_equal(trav, "annotation")) { in schema_complexType()
1421 trav = trav->next; in schema_complexType()
1423 if (trav != NULL) { in schema_complexType()
1424 if (node_is_equal(trav,"simpleContent")) { in schema_complexType()
1425 schema_simpleContent(sdl, tns, trav, cur_type); in schema_complexType()
1426 trav = trav->next; in schema_complexType()
1427 } else if (node_is_equal(trav,"complexContent")) { in schema_complexType()
1428 schema_complexContent(sdl, tns, trav, cur_type); in schema_complexType()
1429 trav = trav->next; in schema_complexType()
1431 if (node_is_equal(trav,"group")) { in schema_complexType()
1432 schema_group(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1433 trav = trav->next; in schema_complexType()
1434 } else if (node_is_equal(trav,"all")) { in schema_complexType()
1435 schema_all(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1436 trav = trav->next; in schema_complexType()
1437 } else if (node_is_equal(trav,"choice")) { in schema_complexType()
1438 schema_choice(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1439 trav = trav->next; in schema_complexType()
1440 } else if (node_is_equal(trav,"sequence")) { in schema_complexType()
1441 schema_sequence(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1442 trav = trav->next; in schema_complexType()
1444 while (trav != NULL) { in schema_complexType()
1445 if (node_is_equal(trav,"attribute")) { in schema_complexType()
1446 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1447 } else if (node_is_equal(trav,"attributeGroup")) { in schema_complexType()
1448 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_complexType()
1449 } else if (node_is_equal(trav,"anyAttribute")) { in schema_complexType()
1451 trav = trav->next; in schema_complexType()
1454 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in complexType", trav->name); in schema_complexType()
1456 trav = trav->next; in schema_complexType()
1460 if (trav != NULL) { in schema_complexType()
1461 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in complexType", trav->name); in schema_complexType()
1487 xmlNodePtr trav; in schema_element() local
1671 trav = element->children; in schema_element()
1672 if (trav != NULL && node_is_equal(trav, "annotation")) { in schema_element()
1674 trav = trav->next; in schema_element()
1676 if (trav != NULL) { in schema_element()
1677 if (node_is_equal(trav,"simpleType")) { in schema_element()
1683 schema_simpleType(sdl, tns, trav, cur_type); in schema_element()
1684 trav = trav->next; in schema_element()
1685 } else if (node_is_equal(trav,"complexType")) { in schema_element()
1691 schema_complexType(sdl, tns, trav, cur_type); in schema_element()
1692 trav = trav->next; in schema_element()
1695 while (trav != NULL) { in schema_element()
1696 if (node_is_equal(trav,"unique")) { in schema_element()
1698 } else if (node_is_equal(trav,"key")) { in schema_element()
1700 } else if (node_is_equal(trav,"keyref")) { in schema_element()
1703 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in element", trav->name); in schema_element()
1705 trav = trav->next; in schema_element()
1729 xmlNodePtr trav; in schema_attribute() local
1907 trav = attrType->children; in schema_attribute()
1908 if (trav != NULL && node_is_equal(trav, "annotation")) { in schema_attribute()
1910 trav = trav->next; in schema_attribute()
1912 if (trav != NULL) { in schema_attribute()
1913 if (node_is_equal(trav,"simpleType")) { in schema_attribute()
1934 schema_simpleType(sdl, tns, trav, dummy_type); in schema_attribute()
1938 trav = trav->next; in schema_attribute()
1941 if (trav != NULL) { in schema_attribute()
1942 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in attribute", trav->name); in schema_attribute()
1949 xmlNodePtr trav; in schema_attributeGroup() local
2015 trav = attrGroup->children; in schema_attributeGroup()
2016 if (trav != NULL && node_is_equal(trav, "annotation")) { in schema_attributeGroup()
2018 trav = trav->next; in schema_attributeGroup()
2020 while (trav != NULL) { in schema_attributeGroup()
2021 if (node_is_equal(trav,"attribute")) { in schema_attributeGroup()
2025 schema_attribute(sdl, tns, trav, cur_type, NULL); in schema_attributeGroup()
2026 } else if (node_is_equal(trav,"attributeGroup")) { in schema_attributeGroup()
2030 schema_attributeGroup(sdl, tns, trav, cur_type, NULL); in schema_attributeGroup()
2031 } else if (node_is_equal(trav,"anyAttribute")) { in schema_attributeGroup()
2036 trav = trav->next; in schema_attributeGroup()
2039 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in attributeGroup", trav->name); in schema_attributeGroup()
2041 trav = trav->next; in schema_attributeGroup()
2043 if (trav != NULL) { in schema_attributeGroup()
2044 soap_error1(E_ERROR, "Parsing Schema: unexpected <%s> in attributeGroup", trav->name); in schema_attributeGroup()