Lines Matching refs:content

119 …(ns != NULL && (new_tns == NULL || xmlStrcmp(ns->children->content, new_tns->children->content) !=…  in schema_load_file()
121 …an't import schema from '%s', unexpected 'targetNamespace'='%s'", location, ns->children->content); in schema_load_file()
125 …import schema from '%s', unexpected 'targetNamespace'='%s'", location, new_tns->children->content); in schema_load_file()
131 xmlSetProp(schema, BAD_CAST("targetNamespace"), tns->children->content); in schema_load_file()
133 } else if (tns != NULL && xmlStrcmp(tns->children->content, new_tns->children->content) != 0) { in schema_load_file()
200 uri = xmlBuildURI(location->children->content, trav->doc->URL); in load_schema()
202 uri = xmlBuildURI(location->children->content, base); in load_schema()
220 uri = xmlBuildURI(location->children->content, trav->doc->URL); in load_schema()
222 uri = xmlBuildURI(location->children->content, base); in load_schema()
237 if (ns != NULL && tns != NULL && xmlStrcmp(ns->children->content, tns->children->content) == 0) { in load_schema()
239 …s', namespace must not match the enclosing schema 'targetNamespace'", location->children->content); in load_schema()
248 uri = xmlBuildURI(location->children->content, trav->doc->URL); in load_schema()
250 uri = xmlBuildURI(location->children->content, base); in load_schema()
324 newType->name = estrdup((char*)name->children->content); in schema_simpleType()
325 newType->namens = estrdup((char*)ns->children->content); in schema_simpleType()
354 newType->name = estrdup((char*)name->children->content); in schema_simpleType()
355 newType->namens = estrdup((char*)ns->children->content); in schema_simpleType()
368 create_encoder(sdl, cur_type, ns->children->content, name->children->content); in schema_simpleType()
421 parse_namespace(itemType->children->content, &type, &ns); in schema_list()
468 newType->namens = estrdup((char*)tns->children->content); in schema_list()
505 str = estrdup((char*)memberTypes->children->content); in schema_union()
565 newType->namens = estrdup((char*)tns->children->content); in schema_union()
648 parse_namespace(base->children->content, &type, &ns); in schema_restriction_simpleContent()
753 parse_namespace(base->children->content, &type, &ns); in schema_restriction_complexContent()
817 if (!strncmp((char*)fixed->children->content, "true", sizeof("true")) || in schema_restriction_var_int()
818 !strncmp((char*)fixed->children->content, "1", sizeof("1"))) in schema_restriction_var_int()
827 (*valptr)->value = atoi((char*)value->children->content); in schema_restriction_var_int()
844 if (!strncmp((char*)fixed->children->content, "true", sizeof("true")) || in schema_restriction_var_char()
845 !strncmp((char*)fixed->children->content, "1", sizeof("1"))) { in schema_restriction_var_char()
855 (*valptr)->value = estrdup((char*)value->children->content); in schema_restriction_var_char()
878 parse_namespace(base->children->content, &type, &ns); in schema_extension_simpleContent()
933 parse_namespace(base->children->content, &type, &ns); in schema_extension_complexContent()
989 model->min_occurs = atoi((char*)attr->children->content); in schema_min_max()
996 if (!strncmp((char*)attr->children->content, "unbounded", sizeof("unbounded"))) { in schema_min_max()
999 model->max_occurs = atoi((char*)attr->children->content); in schema_min_max()
1022 newModel->u.content = emalloc(sizeof(HashTable)); in schema_all()
1023 zend_hash_init(newModel->u.content, 0, NULL, delete_model, 0); in schema_all()
1027 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_all()
1082 parse_namespace(ref->children->content, &type, &ns); in schema_group()
1092 smart_str_appends(&key, (char*)ns->children->content); in schema_group()
1108 newModel->u.content = emalloc(sizeof(HashTable)); in schema_group()
1109 zend_hash_init(newModel->u.content, 0, NULL, delete_model, 0); in schema_group()
1111 smart_str_appends(&key, (char*)ns->children->content); in schema_group()
1113 smart_str_appends(&key, (char*)name->children->content); in schema_group()
1138 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_group()
1198 newModel->u.content = emalloc(sizeof(HashTable)); in schema_choice()
1199 zend_hash_init(newModel->u.content, 0, NULL, delete_model, 0); in schema_choice()
1203 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_choice()
1248 newModel->u.content = emalloc(sizeof(HashTable)); in schema_sequence()
1249 zend_hash_init(newModel->u.content, 0, NULL, delete_model, 0); in schema_sequence()
1253 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_sequence()
1303 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_any()
1379 newType->name = estrdup((char*)name->children->content); in schema_complexType()
1380 newType->namens = estrdup((char*)ns->children->content); in schema_complexType()
1409 newType->name = estrdup((char*)name->children->content); in schema_complexType()
1410 newType->namens = estrdup((char*)ns->children->content); in schema_complexType()
1415 create_encoder(sdl, cur_type, ns->children->content, name->children->content); in schema_complexType()
1517 parse_namespace(ref->children->content, &type, &ns); in schema_element()
1528 smart_str_appends(&nscat, (char*)ns->children->content); in schema_element()
1540 newType->name = estrdup((char*)name->children->content); in schema_element()
1541 newType->namens = estrdup((char*)ns->children->content); in schema_element()
1583 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_element()
1597 if (!stricmp((char*)attr->children->content, "true") || in schema_element()
1598 !stricmp((char*)attr->children->content, "1")) { in schema_element()
1612 cur_type->fixed = estrdup((char*)attr->children->content); in schema_element()
1622 cur_type->def = estrdup((char*)attr->children->content); in schema_element()
1628 if (strncmp((char*)attr->children->content, "qualified", sizeof("qualified")) == 0) { in schema_element()
1630 } else if (strncmp((char*)attr->children->content, "unqualified", sizeof("unqualified")) == 0) { in schema_element()
1644 if(def == NULL || strncmp((char*)def->children->content, "qualified", sizeof("qualified"))) { in schema_element()
1667 parse_namespace(type->children->content, &cptype, &str_ns); in schema_element()
1751 parse_namespace(ref->children->content, &attr_name, &ns); in schema_attribute()
1762 smart_str_appends(&key, (char*)ns->children->content); in schema_attribute()
1779 smart_str_appends(&key, (char*)ns->children->content); in schema_attribute()
1781 newAttr->namens = estrdup((char*)ns->children->content); in schema_attribute()
1783 smart_str_appends(&key, (char*)name->children->content); in schema_attribute()
1814 parse_namespace(type->children->content, &cptype, &str_ns); in schema_attribute()
1826 newAttr->def = estrdup((char*)attr->children->content); in schema_attribute()
1828 newAttr->fixed = estrdup((char*)attr->children->content); in schema_attribute()
1830 if (strncmp((char*)attr->children->content, "qualified", sizeof("qualified")) == 0) { in schema_attribute()
1832 } else if (strncmp((char*)attr->children->content, "unqualified", sizeof("unqualified")) == 0) { in schema_attribute()
1840 newAttr->name = estrdup((char*)attr->children->content); in schema_attribute()
1846 if (strncmp((char*)attr->children->content, "prohibited", sizeof("prohibited")) == 0) { in schema_attribute()
1848 } else if (strncmp((char*)attr->children->content, "required", sizeof("required")) == 0) { in schema_attribute()
1850 } else if (strncmp((char*)attr->children->content, "optional", sizeof("optional")) == 0) { in schema_attribute()
1866 parse_namespace(attr->children->content, &value, &ns); in schema_attribute()
1872 ext->val = estrdup((char*)attr->children->content); in schema_attribute()
1898 if(def == NULL || strncmp((char*)def->children->content, "qualified", sizeof("qualified"))) { in schema_attribute()
1937 dummy_type->namens = estrdup((char*)tns->children->content); in schema_attribute()
1973 newType->name = estrdup((char*)name->children->content); in schema_attributeGroup()
1974 newType->namens = estrdup((char*)ns->children->content); in schema_attributeGroup()
1999 parse_namespace(ref->children->content, &group_name, &ns); in schema_attributeGroup()
2204 ZEND_HASH_FOREACH_PTR(model->u.content, tmp) { in schema_content_model_fixup()
2218 ZEND_HASH_FOREACH_PTR(model->u.content, tmp) { in schema_content_model_fixup()
2332 zend_hash_destroy(tmp->u.content); in delete_model()
2333 efree(tmp->u.content); in delete_model()
2353 zend_hash_destroy(tmp->u.content); in delete_model_persistent_int()
2354 free(tmp->u.content); in delete_model_persistent_int()