Lines Matching refs:nsptr

419 		xmlNsPtr nsptr;  in schema_list()  local
422 nsptr = xmlSearchNs(listType->doc, listType, BAD_CAST(ns)); in schema_list()
423 if (nsptr != NULL) { in schema_list()
430 newType->namens = estrdup((char*)nsptr->href); in schema_list()
432 newType->encode = get_create_encoder(sdl, newType, nsptr->href, BAD_CAST(type)); in schema_list()
502 xmlNsPtr nsptr; in schema_union() local
517 nsptr = xmlSearchNs(unionType->doc, unionType, BAD_CAST(ns)); in schema_union()
518 if (nsptr != NULL) { in schema_union()
525 newType->namens = estrdup((char*)nsptr->href); in schema_union()
527 newType->encode = get_create_encoder(sdl, newType, nsptr->href, BAD_CAST(type)); in schema_union()
644 xmlNsPtr nsptr; in schema_restriction_simpleContent() local
647 nsptr = xmlSearchNs(restType->doc, restType, BAD_CAST(ns)); in schema_restriction_simpleContent()
648 if (nsptr != NULL) { in schema_restriction_simpleContent()
649 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_restriction_simpleContent()
749 xmlNsPtr nsptr; in schema_restriction_complexContent() local
752 nsptr = xmlSearchNs(restType->doc, restType, BAD_CAST(ns)); in schema_restriction_complexContent()
753 if (nsptr != NULL) { in schema_restriction_complexContent()
754 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_restriction_complexContent()
874 xmlNsPtr nsptr; in schema_extension_simpleContent() local
877 nsptr = xmlSearchNs(extType->doc, extType, BAD_CAST(ns)); in schema_extension_simpleContent()
878 if (nsptr != NULL) { in schema_extension_simpleContent()
879 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_extension_simpleContent()
929 xmlNsPtr nsptr; in schema_extension_complexContent() local
932 nsptr = xmlSearchNs(extType->doc, extType, BAD_CAST(ns)); in schema_extension_complexContent()
933 if (nsptr != NULL) { in schema_extension_complexContent()
934 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_extension_complexContent()
1078 xmlNsPtr nsptr; in schema_group() local
1081 nsptr = xmlSearchNs(groupType->doc, groupType, BAD_CAST(ns)); in schema_group()
1082 if (nsptr != NULL) { in schema_group()
1083 smart_str_appends(&key, (char*)nsptr->href); in schema_group()
1513 xmlNsPtr nsptr; in schema_element() local
1516 nsptr = xmlSearchNs(element->doc, element, BAD_CAST(ns)); in schema_element()
1517 if (nsptr != NULL) { in schema_element()
1518 smart_str_appends(&nscat, (char*)nsptr->href); in schema_element()
1519 newType->namens = estrdup((char*)nsptr->href); in schema_element()
1660 xmlNsPtr nsptr; in schema_element() local
1666 nsptr = xmlSearchNs(element->doc, element, BAD_CAST(str_ns)); in schema_element()
1667 if (nsptr != NULL) { in schema_element()
1668 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(cptype)); in schema_element()
1747 xmlNsPtr nsptr; in schema_attribute() local
1750 nsptr = xmlSearchNs(attrType->doc, attrType, BAD_CAST(ns)); in schema_attribute()
1751 if (nsptr != NULL) { in schema_attribute()
1752 smart_str_appends(&key, (char*)nsptr->href); in schema_attribute()
1753 newAttr->namens = estrdup((char*)nsptr->href); in schema_attribute()
1807 xmlNsPtr nsptr; in schema_attribute() local
1813 nsptr = xmlSearchNs(attrType->doc, attrType, BAD_CAST(str_ns)); in schema_attribute()
1814 if (nsptr != NULL) { in schema_attribute()
1815 newAttr->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(cptype)); in schema_attribute()
1859 xmlNsPtr nsptr; in schema_attribute() local
1865 nsptr = xmlSearchNs(attr->doc, attr->parent, BAD_CAST(ns)); in schema_attribute()
1866 if (nsptr) { in schema_attribute()
1867 ext->ns = estrdup((char*)nsptr->href); in schema_attribute()
1984 xmlNsPtr nsptr; in schema_attributeGroup() local
1994 nsptr = xmlSearchNs(attrGroup->doc, attrGroup, BAD_CAST(ns)); in schema_attributeGroup()
1995 if (nsptr != NULL) { in schema_attributeGroup()
1996 smart_str_appends(&key, (char*)nsptr->href); in schema_attributeGroup()