/php-src/ext/dom/tests/modern/spec/ |
H A D | Node_replaceChild_edge_cases.phpt | 55 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 D | ParentNode_hierarchy_text_nodes.phpt | 42 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 D | bug47530.phpt | 70 // 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 D | Element_tagName.phpt | 8 echo "--- For HTML document ---\n"; 18 echo "--- For XML document ---\n"; 29 --- For HTML document --- 36 --- For XML document ---
|
H A D | Node_cloneNode_copy_document_properties.phpt | 2 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 D | event_target.h | 23 lxb_dom_event_target_create(lxb_dom_document_t *document); 27 lxb_dom_document_t *document);
|
H A D | cdata_section.h | 24 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 D | text.h | 24 lxb_dom_text_interface_create(lxb_dom_document_t *document); 27 lxb_dom_text_interface_clone(lxb_dom_document_t *document,
|
H A D | comment.h | 24 lxb_dom_comment_interface_create(lxb_dom_document_t *document); 27 lxb_dom_comment_interface_clone(lxb_dom_document_t *document,
|
H A D | character_data.h | 28 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 D | bug47530.phpt | 73 // 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 D | DOMNode_DOMNameSpaceNode_isConnected.phpt | 25 $document = $docElement->parentNode; 26 var_dump($document->isConnected); 38 echo "--- Empty document test ---\n"; 58 --- Empty document test ---
|
H A D | DOMDocument_loadHTMLfile_variation2.phpt | 2 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 D | document.c | 234 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 D | xml_document.c | 118 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 D | XMLDocument_createFromString_override_encoding.phpt | 14 // 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 D | XMLDocument_createFromFile_override_encoding.phpt | 14 // 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 D | HTMLDocument_createFromFile_override_encoding.phpt | 14 // 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 D | HTMLDocument_createFromString_override_encoding.phpt | 14 // 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 D | HTMLDocument_encoding_field_test.phpt | 38 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 D | in_table_text.c | 43 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 D | before_html.c | 53 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 D | php_xsl.stub.php | 92 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 D | libxml.c | 333 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 D | gh10200.phpt | 10 <document>https://github.com/php/php-src/issues/10200 not encountered</document>
|