Lines Matching refs:temp_str

38   GdomeDOMString *str, *temp_str;  in test_xpath()  local
56 temp_str = gdome_el_tagName((GdomeElement *)gnode, &exc); in test_xpath()
57 if (strcmp (temp_str->str, "p")) in test_xpath()
58 fprintf(stderr,"\n1st xpath result tagName, %s != p",temp_str->str), ret = FALSE; in test_xpath()
61 gdome_str_unref(temp_str); in test_xpath()
65 temp_str = gdome_el_tagName((GdomeElement *)gnode, &exc); in test_xpath()
66 if (strcmp (temp_str->str, "p")) in test_xpath()
67 fprintf(stderr,"\n1st xpath result tagName, %s != p",temp_str->str), ret = FALSE; in test_xpath()
69 gdome_str_unref(temp_str); in test_xpath()
73 temp_str = gdome_el_tagName((GdomeElement *)gnode, &exc); in test_xpath()
74 if (strcmp (temp_str->str, "p")) in test_xpath()
75 fprintf(stderr,"\n2nd xpath result tagName, %s != p",temp_str->str), ret = FALSE; in test_xpath()
77 gdome_str_unref(temp_str); in test_xpath()
112 temp_str = gdome_el_tagName((GdomeElement *)gnode, &exc); in test_xpath()
113 if (strcmp (temp_str->str, "foo:a1")) in test_xpath()
114 fprintf(stderr,"\n1st xpath result tagName, %s != foo:a1",temp_str->str), ret = FALSE; in test_xpath()
117 gdome_str_unref(temp_str); in test_xpath()
123 temp_str = gdome_el_tagName((GdomeElement *)gnode, &exc); in test_xpath()
124 if (strcmp (temp_str->str, "foo:a2")) in test_xpath()
125 fprintf(stderr,"\n2nd xpath result tagName, %s != foo:a2",temp_str->str), ret = FALSE; in test_xpath()
127 gdome_str_unref(temp_str); in test_xpath()
154 temp_str = gdome_str_mkref("abcdef"); in test_xpath()
155 if(!gdome_str_equal(string_value, temp_str)) in test_xpath()
156 fprintf(stderr,"\nResult mismatch, %s != %s",string_value->str, temp_str->str), ret = FALSE; in test_xpath()
160 gdome_str_unref(temp_str); in test_xpath()
191 temp_str = gdome_xpns_prefix((GdomeXPathNamespace *)gnode, &exc); in test_xpath()
192 if (strcmp (temp_str->str, "xml")) in test_xpath()
193 fprintf(stderr,"\nnamespace prefix, %s != xml",temp_str->str), ret = FALSE; in test_xpath()
194 gdome_str_unref(temp_str); in test_xpath()
197 temp_str = gdome_xpns_nodeName((GdomeXPathNamespace *)gnode, &exc); in test_xpath()
198 if (strcmp (temp_str->str, "xml")) in test_xpath()
199 fprintf(stderr,"\nnamespace nodeName, %s != xml",temp_str->str), ret = FALSE; in test_xpath()
200 gdome_str_unref(temp_str); in test_xpath()
203 temp_str = gdome_xpns_namespaceURI((GdomeXPathNamespace *)gnode, &exc); in test_xpath()
204 if (strcmp (temp_str->str, "http://www.w3.org/XML/1998/namespace")) in test_xpath()
205 …fprintf(stderr,"\nnamespace URI, %s != http://www.w3.org/XML/1998/namespace",temp_str->str), ret =… in test_xpath()
206 gdome_str_unref(temp_str); in test_xpath()
218 temp_str = gdome_xpns_prefix((GdomeXPathNamespace *)gnode, &exc); in test_xpath()
219 if (strcmp (temp_str->str, "a")) in test_xpath()
220 fprintf(stderr,"\nnamespace prefix, %s != a",temp_str->str), ret = FALSE; in test_xpath()
221 gdome_str_unref(temp_str); in test_xpath()
224 temp_str = gdome_xpns_nodeName((GdomeXPathNamespace *)gnode, &exc); in test_xpath()
225 if (strcmp (temp_str->str, "a")) in test_xpath()
226 fprintf(stderr,"\nnamespace nodeName, %s != a",temp_str->str), ret = FALSE; in test_xpath()
227 gdome_str_unref(temp_str); in test_xpath()
230 temp_str = gdome_xpns_namespaceURI((GdomeXPathNamespace *)gnode, &exc); in test_xpath()
231 if (strcmp (temp_str->str, "http://www.w3.org")) in test_xpath()
232 fprintf(stderr,"\nnamespace URI, %s != http://www.w3.org",temp_str->str), ret = FALSE; in test_xpath()
233 gdome_str_unref(temp_str); in test_xpath()