Home
last modified time | relevance | path

Searched refs:ns (Results 51 – 75 of 183) sorted by relevance

12345678

/php-src/ext/dom/tests/modern/spec/
H A Dcreate_element_util.inc8 function createElementNS($doc, $ns, $name, ?string $value = null) {
9 $element = $doc->createElementNS($ns, $name);
H A DElement_setAttribute_with_namespace.phpt33 $container->setAttributeNode($dom->createAttributeNS("urn:b", "in:ns"));
34 $attrs[] = setAttribute($container, "in:ns", "&hello7");
50 …"&amp;hello3" xmlns="&amp;hello4" XMLns="&amp;hello5" BAR="&amp;hello6" in:ns="&amp;hello7"></cont…
75 Attr: in:ns
77 string(5) "in:ns"
H A DElement_setAttributeNS.phpt27 echo "--- ns attributes with same namespace but different prefix ---\n";
37 echo "--- ns attributes with different namespace but same prefix ---\n";
57 --- ns attributes with same namespace but different prefix ---
63 --- ns attributes with different namespace but same prefix ---
H A Dgh11404_2.phpt8 $dom1 = DOM\XMLDocument::createFromString('<?xml version="1.0" ?><with xmlns="some:ns" />');
22 <with xmlns="some:ns"><none xmlns=""/></with>
H A Dgh11404_1.phpt8 $dom1 = DOM\XMLDocument::createFromString('<?xml version="1.0"?><with xmlns="some:ns" />');
23 <with xmlns="some:ns"><none xmlns=""/><none xmlns=""/></with>
/php-src/ext/dom/lexbor/lexbor/html/
H A Dtree.h117 lxb_html_token_t *token, lxb_ns_id_t ns);
121 lxb_html_token_t *token, lxb_ns_id_t ns,
127 lxb_html_token_t *token, lxb_ns_id_t ns);
133 lxb_ns_id_t ns);
189 lxb_ns_id_t ns, lxb_html_tag_category_t ct);
274 lxb_tag_id_t tag_id, lxb_ns_id_t ns) in lxb_html_tree_create_node() argument
277 tag_id, ns); in lxb_html_tree_create_node()
283 return node->local_name == tag_id && node->ns == LXB_NS_HTML; in lxb_html_tree_node_is()
346 if (node->ns == LXB_NS_MATH) { in lxb_html_tree_mathml_text_integration_point()
397 lxb_tag_id_t tag_id, lxb_ns_id_t ns);
/php-src/ext/dom/tests/
H A DtoString_exceptions.phpt18 '<root xmlns:ns="foo"><node attr="foo" /><node>Text</node><ns:node/><?pi foobar?></root>');
58 <root xmlns:ns="foo"><node attr="foo"/><node>Text</node><ns:node/><?pi foobar?></root>
H A Dbug38850.phpt9 <foo xmlns="http://www.example.com/ns/foo" />
22 http://www.example.com/ns/foo
H A Dbug70359.phpt18 echo "-- Test with parent and non-ns attribute --\n";
34 echo "-- Test with parent and ns attribute --\n";
65 -- Test with parent and non-ns attribute --
69 -- Test with parent and ns attribute --
H A Dgh12616_3.phpt31 foreach ($xpath->query("/container/child1/namespace::*") as $ns) {
32 var_dump($ns);
37 foreach ($xpath->query("/container/child1/foo/namespace::*") as $ns) {
38 var_dump($ns);
43 foreach ($xpath->query("/container/child2/namespace::*") as $ns) {
44 var_dump($ns);
H A DDOMDocument_relaxNGValidateSource_basic.phpt11 <grammar ns="" xmlns="http://relaxng.org/ns/structure/1.0"
H A Dbug41257.phpt23 $disdef = $doc->isDefaultNamespace("http://ns")."\n";
24 $eisdef = $root->isDefaultNamespace("http://ns")."\n";
H A Dbug80927.phpt49 $foobar = $dom->documentElement->appendChild($dom->createElementNS('some:ns', 'foo:bar'));
50 $foobar2 = $foobar->appendChild($dom->createElementNS('some:ns', 'foo:bar2'));
87 <html><foo:bar2 xmlns:foo="some:ns"/></html>
88 string(7) "some:ns"
/php-src/ext/simplexml/tests/
H A Dprofile06.phpt9 <root xmlns:reserved="reserved-ns">
14 $attr = $root->child->attributes('reserved-ns');
H A Dbug41861.phpt22 foreach (array(null, '#ns1', '#ns2', '#ns3') as $ns)
24 foreach ($xml->children($ns) as $child)
29 echo "children($ns): '$name' -- namespaces: ", implode(', ', $namespaces), "\n";
H A Dprofile07.phpt9 <root xmlns:reserved="reserved-ns">
15 $myattr = $root->child->attributes('reserved-ns');
/php-src/ext/dom/lexbor/lexbor/html/tree/
H A Dopen_elements.h26 lxb_ns_id_t ns,
56 lxb_tag_id_t tag_id, lxb_ns_id_t ns,
61 lxb_tag_id_t tag_id, lxb_ns_id_t ns,
/php-src/ext/dom/lexbor/lexbor/dom/interfaces/
H A Ddocument.c76 lxb_dom_document_dtype_t type, unsigned int ns) in lxb_dom_document_init() argument
98 node->ns = ns; in lxb_dom_document_init()
104 document->ns = owner->ns; in lxb_dom_document_init()
142 document->ns = lexbor_hash_create(); in lxb_dom_document_init()
143 status = lexbor_hash_init(document->ns, 128, sizeof(lxb_ns_data_t)); in lxb_dom_document_init()
171 lexbor_hash_destroy(document->ns, true); in lxb_dom_document_init()
185 lexbor_hash_clean(document->ns); in lxb_dom_document_clean()
216 lexbor_hash_destroy(document->ns, true); in lxb_dom_document_destroy()
485 lxb_tag_id_t tag_id, lxb_ns_id_t ns) in lxb_dom_document_create_interface_noi() argument
487 return lxb_dom_document_create_interface(document, tag_id, ns); in lxb_dom_document_create_interface_noi()
H A Ddocument.h58 lexbor_hash_t *ns; member
87 lxb_dom_document_dtype_t type, unsigned int ns);
143 lxb_tag_id_t tag_id, lxb_ns_id_t ns) in lxb_dom_document_create_interface() argument
145 return document->create_interface(document, tag_id, ns); in lxb_dom_document_create_interface()
214 lxb_tag_id_t tag_id, lxb_ns_id_t ns);
/php-src/ext/dom/tests/delayed_freeing/
H A Dprocessing_instruction.phpt8 $pi = $doc->appendChild($doc->createElementNS('some:ns', 'container'))
18 <container xmlns="some:ns"><?hello world?></container>
/php-src/ext/dom/tests/modern/html/interactions/
H A DHTMLCollection_named_reads.phpt19 <node name="bar">without html ns</node>
20 <node name="bar" xmlns="http://www.w3.org/1999/xhtml">with html ns</node>
72 string(12) "with html ns"
73 string(12) "with html ns"
/php-src/ext/dom/
H A Dxpath_callbacks.h37 typedef void (*php_dom_xpath_callbacks_register_func_ctx)(void *ctxt, const zend_string *ns, const …
62 …r(php_dom_xpath_callbacks* registry, xmlXPathContextPtr ctxt, zend_string *ns, zend_string *name, …
63 …r(php_dom_xpath_callbacks* registry, xmlXPathContextPtr ctxt, zend_string *ns, zend_string *name, …
H A Dhtml5_parser.c141 uintptr_t entering_namespace = element->node.ns; in lexbor_libxml2_bridge_convert()
157 lxml_element->ns = current_lxml_ns; in lexbor_libxml2_bridge_convert()
202 if (attr->node.ns == LXB_NS_XMLNS) { in lexbor_libxml2_bridge_convert()
207 lxml_attr->ns = prefixed_xmlns_ns; in lexbor_libxml2_bridge_convert()
209 … lxml_attr->ns = php_dom_libxml_ns_mapper_ensure_prefixless_xmlns_ns(ns_mapper); in lexbor_libxml2_bridge_convert()
211 lxml_attr->ns->_private = (void *) php_dom_ns_is_xmlns_magic_token; in lexbor_libxml2_bridge_convert()
212 } else if (attr->node.ns == LXB_NS_XLINK) { in lexbor_libxml2_bridge_convert()
217 lxml_attr->ns = xlink_ns; in lexbor_libxml2_bridge_convert()
229 …name_length == 2 && local_name[0] == 'i' && local_name[1] == 'd' && attr->node.ns == LXB_NS_HTML) { in lexbor_libxml2_bridge_convert()
H A Delement.c220 xmlNsPtr ns; in dom_get_attribute_or_nsdecl() local
222 ns = elem->nsDef; in dom_get_attribute_or_nsdecl()
223 while (ns) { in dom_get_attribute_or_nsdecl()
227 ns = ns->next; in dom_get_attribute_or_nsdecl()
236 if (ns != NULL) { in dom_get_attribute_or_nsdecl()
522 if (cur == ns) { in dom_remove_attribute()
537 ns->next = NULL; in dom_remove_attribute()
669 nsp = attrp->ns; in dom_element_set_attribute_node_common()
1005 node->ns = NULL; in dom_remove_eliminated_ns_single_element()
1010 attr->ns = NULL; in dom_remove_eliminated_ns_single_element()
[all …]
/php-src/ext/soap/tests/
H A Dbug68361.phpt10 …xmlsoap.org/soap/encoding/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns="http://foo.bar/test…
16 <xsd:attribute ref="soapenc:arrayType" arrayType="ns:Employee[]"/>
28 <xsd:element name="Employee" nillable="true" type="ns:Employee"/>
35 <xsd:element name="User" nillable="true" type="ns:User"/>
42 <part name="employeeReturn" type="ns:ArrayOfEmployeeReturn"/>
48 <part name="userReturn" element="ns:User"/>

Completed in 37 milliseconds

12345678