Lines Matching refs:nsptr

425 		xmlNsPtr nsptr;  in schema_list()  local
428 nsptr = xmlSearchNs(listType->doc, listType, BAD_CAST(ns)); in schema_list()
429 if (nsptr != NULL) { in schema_list()
436 newType->namens = estrdup((char*)nsptr->href); in schema_list()
438 newType->encode = get_create_encoder(sdl, newType, nsptr->href, BAD_CAST(type)); in schema_list()
509 xmlNsPtr nsptr; in schema_union() local
524 nsptr = xmlSearchNs(unionType->doc, unionType, BAD_CAST(ns)); in schema_union()
525 if (nsptr != NULL) { in schema_union()
532 newType->namens = estrdup((char*)nsptr->href); in schema_union()
534 newType->encode = get_create_encoder(sdl, newType, nsptr->href, BAD_CAST(type)); in schema_union()
652 xmlNsPtr nsptr; in schema_restriction_simpleContent() local
655 nsptr = xmlSearchNs(restType->doc, restType, BAD_CAST(ns)); in schema_restriction_simpleContent()
656 if (nsptr != NULL) { in schema_restriction_simpleContent()
657 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_restriction_simpleContent()
757 xmlNsPtr nsptr; in schema_restriction_complexContent() local
760 nsptr = xmlSearchNs(restType->doc, restType, BAD_CAST(ns)); in schema_restriction_complexContent()
761 if (nsptr != NULL) { in schema_restriction_complexContent()
762 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_restriction_complexContent()
882 xmlNsPtr nsptr; in schema_extension_simpleContent() local
885 nsptr = xmlSearchNs(extType->doc, extType, BAD_CAST(ns)); in schema_extension_simpleContent()
886 if (nsptr != NULL) { in schema_extension_simpleContent()
887 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_extension_simpleContent()
937 xmlNsPtr nsptr; in schema_extension_complexContent() local
940 nsptr = xmlSearchNs(extType->doc, extType, BAD_CAST(ns)); in schema_extension_complexContent()
941 if (nsptr != NULL) { in schema_extension_complexContent()
942 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_extension_complexContent()
1086 xmlNsPtr nsptr; in schema_group() local
1089 nsptr = xmlSearchNs(groupType->doc, groupType, BAD_CAST(ns)); in schema_group()
1090 if (nsptr != NULL) { in schema_group()
1091 smart_str_appends(&key, (char*)nsptr->href); in schema_group()
1524 xmlNsPtr nsptr; in schema_element() local
1527 nsptr = xmlSearchNs(element->doc, element, BAD_CAST(ns)); in schema_element()
1528 if (nsptr != NULL) { in schema_element()
1529 smart_str_appends(&nscat, (char*)nsptr->href); in schema_element()
1530 newType->namens = estrdup((char*)nsptr->href); in schema_element()
1669 xmlNsPtr nsptr; in schema_element() local
1675 nsptr = xmlSearchNs(element->doc, element, BAD_CAST(str_ns)); in schema_element()
1676 if (nsptr != NULL) { in schema_element()
1677 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(cptype)); in schema_element()
1756 xmlNsPtr nsptr; in schema_attribute() local
1759 nsptr = xmlSearchNs(attrType->doc, attrType, BAD_CAST(ns)); in schema_attribute()
1760 if (nsptr != NULL) { in schema_attribute()
1761 smart_str_appends(&key, (char*)nsptr->href); in schema_attribute()
1762 newAttr->namens = estrdup((char*)nsptr->href); in schema_attribute()
1817 xmlNsPtr nsptr; in schema_attribute() local
1823 nsptr = xmlSearchNs(attrType->doc, attrType, BAD_CAST(str_ns)); in schema_attribute()
1824 if (nsptr != NULL) { in schema_attribute()
1825 newAttr->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(cptype)); in schema_attribute()
1869 xmlNsPtr nsptr; in schema_attribute() local
1875 nsptr = xmlSearchNs(attr->doc, attr->parent, BAD_CAST(ns)); in schema_attribute()
1876 if (nsptr) { in schema_attribute()
1877 ext->ns = estrdup((char*)nsptr->href); in schema_attribute()
1998 xmlNsPtr nsptr; in schema_attributeGroup() local
2008 nsptr = xmlSearchNs(attrGroup->doc, attrGroup, BAD_CAST(ns)); in schema_attributeGroup()
2009 if (nsptr != NULL) { in schema_attributeGroup()
2010 smart_str_appends(&key, (char*)nsptr->href); in schema_attributeGroup()