Home
last modified time | relevance | path

Searched refs:ns (Results 26 – 50 of 183) sorted by relevance

12345678

/php-src/ext/dom/tests/delayed_freeing/
H A Dgh9628_1.phpt8 <p xmlns="some:ns">
39 string(7) "some:ns"
41 string(7) "some:ns"
43 <span xmlns:test="some:ns2" xmlns="some:ns" id="1">
46 <default:span xmlns:default="some:ns" xmlns:test="some:ns2" id="2">Test <test:test/></default:span>
48 string(7) "some:ns"
H A Dnamespace_definition_crash.phpt9 $child = $doc->documentElement->appendChild($doc->createElementNS('some:ns', 'child'));
10 $child_child = $child->appendChild($doc->createElementNS('some:ns', 'x'));
22 <container><child xmlns="some:ns"><x/></child></container>
25 string(7) "some:ns"
/php-src/Zend/tests/
H A Dbug62441.phpt10 namespace ns {
19 …ould not check compatibility between ns\Foo::method(ns\stdClass $o) and Iface::method(stdClass $o)…
/php-src/ext/simplexml/tests/
H A Dprofile10.phpt9 <root xmlns:reserved="reserved-ns" xmlns:special="special-ns">
14 $rsattr = $root->child->attributes('reserved-ns');
15 $spattr = $root->child->attributes('special-ns');
H A Dprofile04.phpt8 <root xmlns:reserved="reserved-ns">
13 echo $root->children('reserved-ns')->child;
/php-src/ext/dom/tests/
H A Dclone_attribute_namespace_02.phpt11 <container xmlns:foo="some:ns" foo:bar="1">
16 $clone = $dom->documentElement->getAttributeNodeNs("some:ns", "bar")->cloneNode(true);
24 <container xmlns:foo="some:ns" foo:bar="1">
25 <child xmlns:foo="some:other" xmlns:foo1="some:ns" foo1:bar="1"/>
H A DDOMNode_C14N_references.phpt11 <foo xmlns="http://www.example.com/ns/foo"
12 xmlns:fubar="http://www.example.com/ns/fubar" xmlns:test="urn::test"><contain>
15 <fubar:bar xmlns:fubar="http://www.example.com/ns/fubar"><test3 /></fubar:bar>
27 'namespaces' => ['a' => 'http://www.example.com/ns/foo'],
41 <contain xmlns="http://www.example.com/ns/foo"><bar></bar><bar></bar></contain>
H A Dbug47531_b.phpt10 <container xmlns:foo="some:ns">
19 <p xmlns:foo="other:ns">
29 <child7 xmlns:foo="some:ns" foo:foo="bar">
44 <container xmlns:foo="some:ns">
53 <p xmlns:foo="other:ns">
63 <child7 xmlns:foo="some:ns" foo:foo="bar">
H A DDOM4_DOMNode_before_ns.phpt14 $root->setAttributeNS('http://www.w3.org/2000/xmlns/' ,'xmlns:g', 'http://base.google.com/ns/1.0');
16 $item = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'house');
19 $item2 = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'street');
26 <element xmlns="http://www.w3.org/2005/Atom" xmlns:g="http://base.google.com/ns/1.0">
H A DDOM4_DOMNode_after_ns.phpt14 $root->setAttributeNS('http://www.w3.org/2000/xmlns/' ,'xmlns:g', 'http://base.google.com/ns/1.0');
16 $item = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'house');
19 $item2 = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'street');
26 <element xmlns="http://www.w3.org/2005/Atom" xmlns:g="http://base.google.com/ns/1.0">
H A Dbug67440.phpt13 $fragment->appendChild($document->createElementNS('http://example/ns', 'myns:childNode', '1'));
15 $fragment->appendChild($document->createElementNS('http://example/ns', 'myns:childNode', '2'));
72 <rootElement xmlns:myns="http://example/ns" xmlns:myns2="http://example/ns2">
79 <rootElement xmlns:myns="http://example/ns" xmlns:myns2="http://example/ns2">
92 <rootElement xmlns:myns="http://example/ns" xmlns:myns2="http://example/ns2">
100 <rootElement xmlns:myns="http://example/ns" xmlns:myns2="http://example/ns2">
107 <rootElement xmlns:myns="http://example/ns" xmlns:myns2="http://example/ns2">
120 <rootElement xmlns:myns="http://example/ns" xmlns:myns2="http://example/ns2">
128 <rootElement xmlns:myns="http://example/ns" xmlns:myns2="http://example/ns2">
135 <rootElement xmlns:myns="http://example/ns" xmlns:myns2="http://example/ns2">
[all …]
H A DDOM4_DOMNode_append_ns.phpt14 $root->setAttributeNS('http://www.w3.org/2000/xmlns/' ,'xmlns:g', 'http://base.google.com/ns/1.0');
16 $item = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'house');
23 <element xmlns="http://www.w3.org/2005/Atom" xmlns:g="http://base.google.com/ns/1.0">
H A Dbug46185.phpt9 <ns1:a xmlns:ns1="urn::ns"/>');
14 <ns1:ok xmlns:ns1="urn::ns" xmlns="urn::REAL"><watch-me xmlns:default="urn::BOGUS"/></ns1:ok>');
23 <ns1:a xmlns:ns1="urn::ns"><ns1:ok xmlns="urn::REAL"><watch-me xmlns:default="urn::BOGUS"/></ns1:ok…
H A DDOM4_DOMNode_prepend_ns.phpt14 $root->setAttributeNS('http://www.w3.org/2000/xmlns/' ,'xmlns:g', 'http://base.google.com/ns/1.0');
16 $item = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'house');
23 <element xmlns="http://www.w3.org/2005/Atom" xmlns:g="http://base.google.com/ns/1.0">
H A Ddom002.phpt9 <foo xmlns="http://www.example.com/ns/foo"
10 xmlns:fubar="http://www.example.com/ns/fubar">
30 dump($dom->getElementsByTagNameNS('http://www.example.com/ns/fubar', 'bar'));
31 dump($doc->getElementsByTagNameNS('http://www.example.com/ns/fubar', 'bar'));
/php-src/ext/reflection/tests/
H A Dbug49092.phpt5 namespace ns;
7 new \ReflectionFunction('ns\func');
8 new \ReflectionFunction('\ns\func');
/php-src/ext/dom/tests/modern/html/serializer/
H A DHTMLDocument_serialize_ns_imported_06.phpt25 <container xmlns="some:ns" xmlns:bar="another:ns">
32 <foo xmlns="some:ns"/>
38 <html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><p>foo<x xmlns="some:ns">
44 <foo xmlns="some:ns"/>
53 <foo xmlns="some:ns"></foo>
/php-src/ext/soap/tests/bugs/
H A Dbug73538.phpt14 $client->__setSoapHeaders(new \SoapHeader('ns', 'Header', ['something' => 1]));
15 $client->__setSoapHeaders(new \SoapHeader('ns', 'Header', ['something' => 2]));
25 $client->__setSoapHeaders([new \SoapHeader('ns', 'Header', ['something' => 1])]);
26 $client->__setSoapHeaders([new \SoapHeader('ns', 'Header', ['something' => 2])]);
33 …"http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="test://" xmlns:ns2="ns" xmlns:xsd="http://w…
35 …"http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="test://" xmlns:ns2="ns" xmlns:xsd="http://w…
/php-src/ext/dom/lexbor/lexbor/html/
H A Dtag.h51 lxb_html_tag_is_category(lxb_tag_id_t tag_id, lxb_ns_id_t ns, in lxb_html_tag_is_category() argument
54 if (tag_id < LXB_TAG__LAST_ENTRY && ns < LXB_NS__LAST_ENTRY) { in lxb_html_tag_is_category()
55 return lxb_html_tag_res_cats[tag_id][ns] & cat; in lxb_html_tag_is_category()
H A Dtree.c270 && adjusted->ns == LXB_NS_MATH in lxb_html_tree_construction_dispatcher()
492 attr->node.ns = ns; in lxb_html_tree_append_attributes()
531 new_attr->node.ns = attr->node.ns; in lxb_html_tree_append_attributes_from_element()
666 attr->node.ns = adjust->ns; in lxb_html_tree_adjust_foreign_attributes()
1034 if (node->ns != LXB_NS_HTML) { in lxb_html_tree_reset_insertion_mode_appropriately()
1171 if (node->local_name == tag_id && node->ns == ns) { in lxb_html_tree_element_in_scope()
1228 if (node->ns == LXB_NS_HTML) { in lxb_html_tree_element_in_scope_h123456()
1264 if (node->ns == LXB_NS_HTML) { in lxb_html_tree_element_in_scope_tbody_thead_tfoot()
1299 if (node->ns == LXB_NS_HTML) { in lxb_html_tree_element_in_scope_td_th()
1675 if (node->ns == LXB_NS_MATH in lxb_html_tree_html_integration_point()
[all …]
/php-src/ext/standard/tests/serialize/
H A Dprecision.phpt27 foreach ($numbers as $ns) {
28 $num = unpack("d", pack("H*", $ns)); $num = reset($num);
32 if ($repr == $ns)
35 echo "mismatch\n\twas: $ns\n\tbecame: $repr\n";
/php-src/ext/soap/
H A Dphp_sdl.h95 char *ns; member
104 char *ns; member
110 char *ns; member
237 char *ns; member
257 encodePtr get_encoder(sdlPtr sdl, const char *ns, const char *type);
261 sdlBindingPtr get_binding_from_name(sdlPtr sdl, char *name, char *ns);
/php-src/ext/dom/
H A Dnode.c50 if (nodep->ns != NULL && nodep->ns->prefix != NULL) { in dom_node_get_node_name_attribute_or_element()
93 xmlNsPtr ns = nodep->ns; in dom_node_node_name_read() local
94 if (ns != NULL && ns->prefix) { in dom_node_node_name_read()
544 xmlNsPtr ns = nodep->ns; in dom_node_prefix_read() local
545 if (ns != NULL && ns->prefix) { in dom_node_prefix_read()
567 xmlNsPtr ns = nodep->ns; in dom_modern_node_prefix_read() local
568 if (ns != NULL && ns->prefix != NULL) { in dom_modern_node_prefix_read()
627 ns = xmlNewNs(nsnode, nodep->ns->href, BAD_CAST prefix); in dom_node_prefix_write()
1490 node->ns = n->ns; in PHP_METHOD()
1610 const xmlChar *this_ns = this->ns ? this->ns->href : NULL; in php_dom_node_is_ns_uri_equal()
[all …]
/php-src/ext/dom/lexbor/lexbor/dom/
H A Dinterface.c24 lxb_ns_id_t ns) in lxb_dom_interface_create() argument
34 domel->node.ns = ns; in lxb_dom_interface_create()
/php-src/ext/dom/lexbor/lexbor/html/tree/insertion_mode/
H A Dforeign_content.c48 if (list[idx]->ns == LXB_NS_HTML) { in lxb_html_tree_insertion_mode_foreign_content_anything_else_closed()
65 if (node->local_name != LXB_TAG_SCRIPT || node->ns != LXB_NS_SVG) { in lxb_html_tree_insertion_mode_foreign_content_script_closed()
83 if (node->ns == LXB_NS_MATH) { in lxb_html_tree_insertion_mode_foreign_content_anything_else()
86 else if (node->ns == LXB_NS_SVG) { in lxb_html_tree_insertion_mode_foreign_content_anything_else()
90 element = lxb_html_tree_insert_foreign_element(tree, token, node->ns); in lxb_html_tree_insertion_mode_foreign_content_anything_else()
98 if (node->ns == LXB_NS_SVG) { in lxb_html_tree_insertion_mode_foreign_content_anything_else()
115 if (token->tag_id == LXB_TAG_SCRIPT && node->ns == LXB_NS_SVG) { in lxb_html_tree_insertion_mode_foreign_content_anything_else()
277 || node->ns == LXB_NS_HTML)); in lxb_html_tree_insertion_mode_foreign_content_all()

Completed in 57 milliseconds

12345678