Home
last modified time | relevance | path

Searched refs:document (Results 126 – 150 of 454) sorted by relevance

12345678910>>...19

/php-src/ext/dom/tests/modern/spec/
H A DNode_replaceChild_edge_cases.phpt55 echo "--- Replace element with text in document root ---\n";
83 echo "--- Replace comment in document causing more than two elements ---\n";
131 --- Replace element with text in document root ---
132 Cannot insert text as a child of a document
134 Cannot insert a document type into anything other than a document
136 Cannot have more than one element child in a document
137 --- Replace comment in document causing more than two elements ---
138 Cannot have more than one element child in a document
140 Cannot have more than one element child in a document
142 Document types must be the first child in a document
H A DParentNode_hierarchy_text_nodes.phpt42 Exception: Cannot insert text as a child of a document
43 Exception: Cannot insert text as a child of a document
44 Exception: Cannot insert text as a child of a document
47 Exception: Cannot insert text as a child of a document
H A Dbug47530.phpt70 // Freeing the original document shouldn't break the other document
98 echo "-- Test document fragment with import --\n";
100 echo "-- Test document fragment without import --\n";
102 echo "-- Test document import --\n";
104 echo "-- Test partial document import --\n";
106 echo "-- Test document import with attributes --\n";
113 -- Test document fragment with import --
116 -- Test document fragment without import --
123 -- Test document import --
130 -- Test partial document import --
[all …]
H A DElement_tagName.phpt8 echo "--- For HTML document ---\n";
18 echo "--- For XML document ---\n";
29 --- For HTML document ---
36 --- For XML document ---
H A DNode_cloneNode_copy_document_properties.phpt2 Dom\Node::cloneNode() should copy the document properties
21 Cannot have more than one element child in a document
/php-src/ext/dom/lexbor/lexbor/dom/interfaces/
H A Devent_target.h23 lxb_dom_event_target_create(lxb_dom_document_t *document);
27 lxb_dom_document_t *document);
H A Dcdata_section.h24 lxb_dom_cdata_section_interface_create(lxb_dom_document_t *document);
27 lxb_dom_cdata_section_interface_clone(lxb_dom_document_t *document,
H A Dtext.h24 lxb_dom_text_interface_create(lxb_dom_document_t *document);
27 lxb_dom_text_interface_clone(lxb_dom_document_t *document,
H A Dcomment.h24 lxb_dom_comment_interface_create(lxb_dom_document_t *document);
27 lxb_dom_comment_interface_clone(lxb_dom_document_t *document,
H A Dcharacter_data.h28 lxb_dom_character_data_interface_create(lxb_dom_document_t *document);
31 lxb_dom_character_data_interface_clone(lxb_dom_document_t *document,
/php-src/ext/dom/tests/
H A Dbug47530.phpt73 // Freeing the original document shouldn't break the other document
104 echo "-- Test document fragment with import --\n";
106 echo "-- Test document fragment without import --\n";
108 echo "-- Test document import --\n";
110 echo "-- Test partial document import --\n";
112 echo "-- Test document import with attributes --\n";
119 -- Test document fragment with import --
122 -- Test document fragment without import --
127 -- Test document import --
134 -- Test partial document import --
[all …]
H A DDOMNode_DOMNameSpaceNode_isConnected.phpt25 $document = $docElement->parentNode;
26 var_dump($document->isConnected);
38 echo "--- Empty document test ---\n";
58 --- Empty document test ---
H A DDOMDocument_loadHTMLfile_variation2.phpt2 Test DOMDocument::loadHTMLFile when a not-well formed document is loaded
4 Verifies the behavior if a not-well formed document is loaded
/php-src/ext/dom/
H A Ddocument.c234 if (obj->document) { in dom_document_strict_error_checking_write()
256 if (obj->document) { in dom_document_format_output_write()
277 if (obj->document) { in dom_document_validate_on_parse_write()
298 if (obj->document) { in dom_document_resolve_externals_write()
319 if (obj->document) { in dom_document_preserve_whitespace_write()
340 if (obj->document) { in dom_document_recover_write()
361 if (obj->document) { in dom_document_substitue_entities_write()
1279 intern->document = NULL; in PHP_METHOD()
1359 php_libxml_ref_obj *document = intern->document; in dom_document_parser() local
1483 intern->document->doc_props = NULL; in php_dom_finish_loading_document()
[all …]
H A Dxml_document.c118 dom_set_xml_class(intern->document); in PHP_METHOD()
119 …intern->document->private_data = php_dom_libxml_ns_mapper_header(php_dom_libxml_ns_mapper_create()… in PHP_METHOD()
227 dom_set_xml_class(intern->document); in load_from_helper()
228 dom_document_convert_to_modern(intern->document, lxml_doc); in load_from_helper()
231 void dom_document_convert_to_modern(php_libxml_ref_obj *document, xmlDocPtr lxml_doc) in dom_document_convert_to_modern() argument
234 document->private_data = php_dom_libxml_ns_mapper_header(ns_mapper); in dom_document_convert_to_modern()
330 void dom_set_xml_class(php_libxml_ref_obj *document) in dom_set_xml_class() argument
332 document->class_type = PHP_LIBXML_CLASS_MODERN; in dom_set_xml_class()
333 document->handlers = &php_new_dom_default_document_handlers; in dom_set_xml_class()
/php-src/ext/dom/tests/modern/xml/
H A DXMLDocument_createFromString_override_encoding.phpt14 // The override encoding matches with the document encoding attribute
19 // The override encoding mismatches with the document encoding attribute
26 Dom\XMLDocument::createFromString(): Argument #3 ($overrideEncoding) must be a valid document encod…
H A DXMLDocument_createFromFile_override_encoding.phpt14 // The override encoding matches with the document encoding attribute
19 // The override encoding mismatches with the document encoding attribute
26 Dom\XMLDocument::createFromFile(): Argument #3 ($overrideEncoding) must be a valid document encoding
/php-src/ext/dom/tests/modern/html/encoding/
H A DHTMLDocument_createFromFile_override_encoding.phpt14 // The override encoding matches with the document encoding attribute
19 // The override encoding mismatches with the document encoding attribute
26 Dom\HTMLDocument::createFromFile(): Argument #3 ($overrideEncoding) must be a valid document encodi…
H A DHTMLDocument_createFromString_override_encoding.phpt14 // The override encoding matches with the document encoding attribute
19 // The override encoding mismatches with the document encoding attribute
26 Dom\HTMLDocument::createFromString(): Argument #3 ($overrideEncoding) must be a valid document enco…
H A DHTMLDocument_encoding_field_test.phpt38 Invalid document encoding
41 Invalid document encoding
43 Dom\HTMLDocument::createEmpty(): Argument #1 ($encoding) must be a valid document encoding
/php-src/ext/dom/lexbor/lexbor/html/tree/insertion_mode/
H A Din_table_text.c43 tree->document->dom_document.text); in lxb_html_tree_insertion_mode_in_table_text()
47 tree->document->dom_document.text); in lxb_html_tree_insertion_mode_in_table_text()
58 lexbor_str_destroy(text, tree->document->dom_document.text, false); in lxb_html_tree_insertion_mode_in_table_text()
125 lexbor_str_destroy(text, tree->document->dom_document.text, false); in lxb_html_tree_insertion_mode_in_table_text_erase()
H A Dbefore_html.c53 lxb_dom_interface_node(tree->document)); in lxb_html_tree_insertion_mode_before_html_open()
67 &tree->document->dom_document.node); in lxb_html_tree_insertion_mode_before_html_open()
160 lxb_html_tree_insert_node(lxb_dom_interface_node(tree->document), in lxb_html_tree_insertion_mode_before_html_html()
164 lxb_dom_document_attach_element(&tree->document->dom_document, in lxb_html_tree_insertion_mode_before_html_html()
/php-src/ext/xsl/
H A Dphp_xsl.stub.php92 public function transformToDoc(object $document, ?string $returnClass = null): object|false {} argument
98 public function transformToUri(object $document, string $uri): int {} argument
104 public function transformToXml(object $document): string|null|false {} argument
/php-src/ext/libxml/
H A Dlibxml.c333 if (!obj->document || obj->document->class_type < PHP_LIBXML_CLASS_MODERN) { in php_libxml_node_free_list()
1336 if (object->document != NULL) { in php_libxml_increment_doc_ref()
1337 object->document->refcount++; in php_libxml_increment_doc_ref()
1342 object->document->ptr = docp; in php_libxml_increment_doc_ref()
1344 object->document->doc_props = NULL; in php_libxml_increment_doc_ref()
1358 if (document->ptr != NULL) { in php_libxml_decrement_doc_ref_directly()
1361 if (document->doc_props != NULL) { in php_libxml_decrement_doc_ref_directly()
1366 efree(document->doc_props); in php_libxml_decrement_doc_ref_directly()
1369 document->private_data->dtor(document->private_data); in php_libxml_decrement_doc_ref_directly()
1371 efree(document); in php_libxml_decrement_doc_ref_directly()
[all …]
/php-src/ext/simplexml/tests/
H A Dgh10200.phpt10 <document>https://github.com/php/php-src/issues/10200 not encountered</document>

Completed in 41 milliseconds

12345678910>>...19