Lines Matching refs:nsptr

416 		xmlNsPtr nsptr;  in schema_list()  local
419 nsptr = xmlSearchNs(listType->doc, listType, BAD_CAST(ns)); in schema_list()
420 if (nsptr != NULL) { in schema_list()
427 newType->namens = estrdup((char*)nsptr->href); in schema_list()
429 newType->encode = get_create_encoder(sdl, newType, nsptr->href, BAD_CAST(type)); in schema_list()
500 xmlNsPtr nsptr; in schema_union() local
515 nsptr = xmlSearchNs(unionType->doc, unionType, BAD_CAST(ns)); in schema_union()
516 if (nsptr != NULL) { in schema_union()
523 newType->namens = estrdup((char*)nsptr->href); in schema_union()
525 newType->encode = get_create_encoder(sdl, newType, nsptr->href, BAD_CAST(type)); in schema_union()
643 xmlNsPtr nsptr; in schema_restriction_simpleContent() local
646 nsptr = xmlSearchNs(restType->doc, restType, BAD_CAST(ns)); in schema_restriction_simpleContent()
647 if (nsptr != NULL) { in schema_restriction_simpleContent()
648 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_restriction_simpleContent()
748 xmlNsPtr nsptr; in schema_restriction_complexContent() local
751 nsptr = xmlSearchNs(restType->doc, restType, BAD_CAST(ns)); in schema_restriction_complexContent()
752 if (nsptr != NULL) { in schema_restriction_complexContent()
753 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_restriction_complexContent()
873 xmlNsPtr nsptr; in schema_extension_simpleContent() local
876 nsptr = xmlSearchNs(extType->doc, extType, BAD_CAST(ns)); in schema_extension_simpleContent()
877 if (nsptr != NULL) { in schema_extension_simpleContent()
878 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_extension_simpleContent()
928 xmlNsPtr nsptr; in schema_extension_complexContent() local
931 nsptr = xmlSearchNs(extType->doc, extType, BAD_CAST(ns)); in schema_extension_complexContent()
932 if (nsptr != NULL) { in schema_extension_complexContent()
933 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_extension_complexContent()
1077 xmlNsPtr nsptr; in schema_group() local
1080 nsptr = xmlSearchNs(groupType->doc, groupType, BAD_CAST(ns)); in schema_group()
1081 if (nsptr != NULL) { in schema_group()
1082 smart_str_appends(&key, (char*)nsptr->href); in schema_group()
1512 xmlNsPtr nsptr; in schema_element() local
1515 nsptr = xmlSearchNs(element->doc, element, BAD_CAST(ns)); in schema_element()
1516 if (nsptr != NULL) { in schema_element()
1517 smart_str_appends(&nscat, (char*)nsptr->href); in schema_element()
1518 newType->namens = estrdup((char*)nsptr->href); in schema_element()
1657 xmlNsPtr nsptr; in schema_element() local
1663 nsptr = xmlSearchNs(element->doc, element, BAD_CAST(str_ns)); in schema_element()
1664 if (nsptr != NULL) { in schema_element()
1665 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(cptype)); in schema_element()
1744 xmlNsPtr nsptr; in schema_attribute() local
1747 nsptr = xmlSearchNs(attrType->doc, attrType, BAD_CAST(ns)); in schema_attribute()
1748 if (nsptr != NULL) { in schema_attribute()
1749 smart_str_appends(&key, (char*)nsptr->href); in schema_attribute()
1750 newAttr->namens = estrdup((char*)nsptr->href); in schema_attribute()
1805 xmlNsPtr nsptr; in schema_attribute() local
1811 nsptr = xmlSearchNs(attrType->doc, attrType, BAD_CAST(str_ns)); in schema_attribute()
1812 if (nsptr != NULL) { in schema_attribute()
1813 newAttr->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(cptype)); in schema_attribute()
1857 xmlNsPtr nsptr; in schema_attribute() local
1863 nsptr = xmlSearchNs(attr->doc, attr->parent, BAD_CAST(ns)); in schema_attribute()
1864 if (nsptr) { in schema_attribute()
1865 ext->ns = estrdup((char*)nsptr->href); in schema_attribute()
1986 xmlNsPtr nsptr; in schema_attributeGroup() local
1996 nsptr = xmlSearchNs(attrGroup->doc, attrGroup, BAD_CAST(ns)); in schema_attributeGroup()
1997 if (nsptr != NULL) { in schema_attributeGroup()
1998 smart_str_appends(&key, (char*)nsptr->href); in schema_attributeGroup()