Lines Matching refs:nsptr
440 xmlNsPtr nsptr; in schema_list() local
443 nsptr = xmlSearchNs(listType->doc, listType, BAD_CAST(ns)); in schema_list()
444 if (nsptr != NULL) { in schema_list()
451 newType->namens = estrdup((char*)nsptr->href); in schema_list()
453 newType->encode = get_create_encoder(sdl, newType, nsptr->href, BAD_CAST(type)); in schema_list()
524 xmlNsPtr nsptr; in schema_union() local
539 nsptr = xmlSearchNs(unionType->doc, unionType, BAD_CAST(ns)); in schema_union()
540 if (nsptr != NULL) { in schema_union()
547 newType->namens = estrdup((char*)nsptr->href); in schema_union()
549 newType->encode = get_create_encoder(sdl, newType, nsptr->href, BAD_CAST(type)); in schema_union()
667 xmlNsPtr nsptr; in schema_restriction_simpleContent() local
670 nsptr = xmlSearchNs(restType->doc, restType, BAD_CAST(ns)); in schema_restriction_simpleContent()
671 if (nsptr != NULL) { in schema_restriction_simpleContent()
672 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_restriction_simpleContent()
772 xmlNsPtr nsptr; in schema_restriction_complexContent() local
775 nsptr = xmlSearchNs(restType->doc, restType, BAD_CAST(ns)); in schema_restriction_complexContent()
776 if (nsptr != NULL) { in schema_restriction_complexContent()
777 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_restriction_complexContent()
897 xmlNsPtr nsptr; in schema_extension_simpleContent() local
900 nsptr = xmlSearchNs(extType->doc, extType, BAD_CAST(ns)); in schema_extension_simpleContent()
901 if (nsptr != NULL) { in schema_extension_simpleContent()
902 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_extension_simpleContent()
952 xmlNsPtr nsptr; in schema_extension_complexContent() local
955 nsptr = xmlSearchNs(extType->doc, extType, BAD_CAST(ns)); in schema_extension_complexContent()
956 if (nsptr != NULL) { in schema_extension_complexContent()
957 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_extension_complexContent()
1101 xmlNsPtr nsptr; in schema_group() local
1104 nsptr = xmlSearchNs(groupType->doc, groupType, BAD_CAST(ns)); in schema_group()
1105 if (nsptr != NULL) { in schema_group()
1106 smart_str_appends(&key, (char*)nsptr->href); in schema_group()
1539 xmlNsPtr nsptr; in schema_element() local
1542 nsptr = xmlSearchNs(element->doc, element, BAD_CAST(ns)); in schema_element()
1543 if (nsptr != NULL) { in schema_element()
1544 smart_str_appends(&nscat, (char*)nsptr->href); in schema_element()
1545 newType->namens = estrdup((char*)nsptr->href); in schema_element()
1684 xmlNsPtr nsptr; in schema_element() local
1690 nsptr = xmlSearchNs(element->doc, element, BAD_CAST(str_ns)); in schema_element()
1691 if (nsptr != NULL) { in schema_element()
1692 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(cptype)); in schema_element()
1771 xmlNsPtr nsptr; in schema_attribute() local
1774 nsptr = xmlSearchNs(attrType->doc, attrType, BAD_CAST(ns)); in schema_attribute()
1775 if (nsptr != NULL) { in schema_attribute()
1776 smart_str_appends(&key, (char*)nsptr->href); in schema_attribute()
1777 newAttr->namens = estrdup((char*)nsptr->href); in schema_attribute()
1832 xmlNsPtr nsptr; in schema_attribute() local
1838 nsptr = xmlSearchNs(attrType->doc, attrType, BAD_CAST(str_ns)); in schema_attribute()
1839 if (nsptr != NULL) { in schema_attribute()
1840 newAttr->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(cptype)); in schema_attribute()
1883 xmlNsPtr nsptr; in schema_attribute() local
1890 nsptr = xmlSearchNs(attr->doc, attr->parent, BAD_CAST(ns)); in schema_attribute()
1891 if (nsptr) { in schema_attribute()
1892 ext->ns = estrdup((char*)nsptr->href); in schema_attribute()
2013 xmlNsPtr nsptr; in schema_attributeGroup() local
2023 nsptr = xmlSearchNs(attrGroup->doc, attrGroup, BAD_CAST(ns)); in schema_attributeGroup()
2024 if (nsptr != NULL) { in schema_attributeGroup()
2025 smart_str_appends(&key, (char*)nsptr->href); in schema_attributeGroup()