Lines Matching refs:nsptr
437 xmlNsPtr nsptr; in schema_list() local
440 nsptr = xmlSearchNs(listType->doc, listType, BAD_CAST(ns)); in schema_list()
441 if (nsptr != NULL) { in schema_list()
448 newType->namens = estrdup((char*)nsptr->href); in schema_list()
450 newType->encode = get_create_encoder(sdl, newType, nsptr->href, BAD_CAST(type)); in schema_list()
521 xmlNsPtr nsptr; in schema_union() local
536 nsptr = xmlSearchNs(unionType->doc, unionType, BAD_CAST(ns)); in schema_union()
537 if (nsptr != NULL) { in schema_union()
544 newType->namens = estrdup((char*)nsptr->href); in schema_union()
546 newType->encode = get_create_encoder(sdl, newType, nsptr->href, BAD_CAST(type)); in schema_union()
664 xmlNsPtr nsptr; in schema_restriction_simpleContent() local
667 nsptr = xmlSearchNs(restType->doc, restType, BAD_CAST(ns)); in schema_restriction_simpleContent()
668 if (nsptr != NULL) { in schema_restriction_simpleContent()
669 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_restriction_simpleContent()
769 xmlNsPtr nsptr; in schema_restriction_complexContent() local
772 nsptr = xmlSearchNs(restType->doc, restType, BAD_CAST(ns)); in schema_restriction_complexContent()
773 if (nsptr != NULL) { in schema_restriction_complexContent()
774 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_restriction_complexContent()
894 xmlNsPtr nsptr; in schema_extension_simpleContent() local
897 nsptr = xmlSearchNs(extType->doc, extType, BAD_CAST(ns)); in schema_extension_simpleContent()
898 if (nsptr != NULL) { in schema_extension_simpleContent()
899 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_extension_simpleContent()
949 xmlNsPtr nsptr; in schema_extension_complexContent() local
952 nsptr = xmlSearchNs(extType->doc, extType, BAD_CAST(ns)); in schema_extension_complexContent()
953 if (nsptr != NULL) { in schema_extension_complexContent()
954 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_extension_complexContent()
1098 xmlNsPtr nsptr; in schema_group() local
1101 nsptr = xmlSearchNs(groupType->doc, groupType, BAD_CAST(ns)); in schema_group()
1102 if (nsptr != NULL) { in schema_group()
1103 smart_str_appends(&key, (char*)nsptr->href); in schema_group()
1533 xmlNsPtr nsptr; in schema_element() local
1536 nsptr = xmlSearchNs(element->doc, element, BAD_CAST(ns)); in schema_element()
1537 if (nsptr != NULL) { in schema_element()
1538 smart_str_appends(&nscat, (char*)nsptr->href); in schema_element()
1539 newType->namens = estrdup((char*)nsptr->href); in schema_element()
1678 xmlNsPtr nsptr; in schema_element() local
1684 nsptr = xmlSearchNs(element->doc, element, BAD_CAST(str_ns)); in schema_element()
1685 if (nsptr != NULL) { in schema_element()
1686 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(cptype)); in schema_element()
1765 xmlNsPtr nsptr; in schema_attribute() local
1768 nsptr = xmlSearchNs(attrType->doc, attrType, BAD_CAST(ns)); in schema_attribute()
1769 if (nsptr != NULL) { in schema_attribute()
1770 smart_str_appends(&key, (char*)nsptr->href); in schema_attribute()
1771 newAttr->namens = estrdup((char*)nsptr->href); in schema_attribute()
1826 xmlNsPtr nsptr; in schema_attribute() local
1832 nsptr = xmlSearchNs(attrType->doc, attrType, BAD_CAST(str_ns)); in schema_attribute()
1833 if (nsptr != NULL) { in schema_attribute()
1834 newAttr->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(cptype)); in schema_attribute()
1878 xmlNsPtr nsptr; in schema_attribute() local
1884 nsptr = xmlSearchNs(attr->doc, attr->parent, BAD_CAST(ns)); in schema_attribute()
1885 if (nsptr) { in schema_attribute()
1886 ext->ns = estrdup((char*)nsptr->href); in schema_attribute()
2007 xmlNsPtr nsptr; in schema_attributeGroup() local
2017 nsptr = xmlSearchNs(attrGroup->doc, attrGroup, BAD_CAST(ns)); in schema_attributeGroup()
2018 if (nsptr != NULL) { in schema_attributeGroup()
2019 smart_str_appends(&key, (char*)nsptr->href); in schema_attributeGroup()