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()
503 xmlNsPtr nsptr; in schema_union() local
518 nsptr = xmlSearchNs(unionType->doc, unionType, BAD_CAST(ns)); in schema_union()
519 if (nsptr != NULL) { in schema_union()
526 newType->namens = estrdup((char*)nsptr->href); in schema_union()
528 newType->encode = get_create_encoder(sdl, newType, nsptr->href, BAD_CAST(type)); in schema_union()
646 xmlNsPtr nsptr; in schema_restriction_simpleContent() local
649 nsptr = xmlSearchNs(restType->doc, restType, BAD_CAST(ns)); in schema_restriction_simpleContent()
650 if (nsptr != NULL) { in schema_restriction_simpleContent()
651 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_restriction_simpleContent()
751 xmlNsPtr nsptr; in schema_restriction_complexContent() local
754 nsptr = xmlSearchNs(restType->doc, restType, BAD_CAST(ns)); in schema_restriction_complexContent()
755 if (nsptr != NULL) { in schema_restriction_complexContent()
756 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_restriction_complexContent()
876 xmlNsPtr nsptr; in schema_extension_simpleContent() local
879 nsptr = xmlSearchNs(extType->doc, extType, BAD_CAST(ns)); in schema_extension_simpleContent()
880 if (nsptr != NULL) { in schema_extension_simpleContent()
881 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_extension_simpleContent()
931 xmlNsPtr nsptr; in schema_extension_complexContent() local
934 nsptr = xmlSearchNs(extType->doc, extType, BAD_CAST(ns)); in schema_extension_complexContent()
935 if (nsptr != NULL) { in schema_extension_complexContent()
936 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_extension_complexContent()
1080 xmlNsPtr nsptr; in schema_group() local
1083 nsptr = xmlSearchNs(groupType->doc, groupType, BAD_CAST(ns)); in schema_group()
1084 if (nsptr != NULL) { in schema_group()
1085 smart_str_appends(&key, (char*)nsptr->href); in schema_group()
1515 xmlNsPtr nsptr; in schema_element() local
1518 nsptr = xmlSearchNs(element->doc, element, BAD_CAST(ns)); in schema_element()
1519 if (nsptr != NULL) { in schema_element()
1520 smart_str_appends(&nscat, (char*)nsptr->href); in schema_element()
1521 newType->namens = estrdup((char*)nsptr->href); in schema_element()
1662 xmlNsPtr nsptr; in schema_element() local
1668 nsptr = xmlSearchNs(element->doc, element, BAD_CAST(str_ns)); in schema_element()
1669 if (nsptr != NULL) { in schema_element()
1670 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(cptype)); in schema_element()
1749 xmlNsPtr nsptr; in schema_attribute() local
1752 nsptr = xmlSearchNs(attrType->doc, attrType, BAD_CAST(ns)); in schema_attribute()
1753 if (nsptr != NULL) { in schema_attribute()
1754 smart_str_appends(&key, (char*)nsptr->href); in schema_attribute()
1755 newAttr->namens = estrdup((char*)nsptr->href); in schema_attribute()
1809 xmlNsPtr nsptr; in schema_attribute() local
1815 nsptr = xmlSearchNs(attrType->doc, attrType, BAD_CAST(str_ns)); in schema_attribute()
1816 if (nsptr != NULL) { in schema_attribute()
1817 newAttr->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(cptype)); in schema_attribute()
1861 xmlNsPtr nsptr; in schema_attribute() local
1867 nsptr = xmlSearchNs(attr->doc, attr->parent, BAD_CAST(ns)); in schema_attribute()
1868 if (nsptr) { in schema_attribute()
1869 ext->ns = estrdup((char*)nsptr->href); in schema_attribute()
1990 xmlNsPtr nsptr; in schema_attributeGroup() local
2000 nsptr = xmlSearchNs(attrGroup->doc, attrGroup, BAD_CAST(ns)); in schema_attributeGroup()
2001 if (nsptr != NULL) { in schema_attributeGroup()
2002 smart_str_appends(&key, (char*)nsptr->href); in schema_attributeGroup()