/php-src/ext/dom/tests/modern/common/ |
H A D | Document_title_getter.phpt | 13 $dom = Dom\XMLDocument::createFromString("<root xmlns=\"http://www.w3.org/1999/xhtml\"><title> onl… 16 $dom = Dom\XMLDocument::createFromString("<root xmlns=\"http://www.w3.org/1999/xhtml\"><title>only … 22 $dom = Dom\XMLDocument::createFromString("<title xmlns=\"http://www.w3.org/1999/xhtml\">title</titl… 25 $dom = Dom\XMLDocument::createFromString("<root xmlns=\"http://www.w3.org/1999/xhtml\"><title> abc… 28 $dom = Dom\XMLDocument::createFromString("<root xmlns=\"http://www.w3.org/1999/xhtml\"><title></tit… 31 $dom = Dom\XMLDocument::createFromString("<root xmlns=\"http://www.w3.org/1999/xhtml\"></root>"); 34 $dom = Dom\XMLDocument::createFromString("<root xmlns=\"http://www.w3.org/1999/xhtml\"><title> \t\… 43 $dom = Dom\XMLDocument::createFromString("<root xmlns=\"http://www.w3.org/1999/xhtml\"><title>title… 46 $dom = Dom\XMLDocument::createFromString("<root xmlns=\"http://www.w3.org/1999/xhtml\"><title/></ro… 52 $dom = Dom\XMLDocument::createFromString("<root xmlns=\"http://www.w3.org/1999/xhtml\"><title>title… [all …]
|
H A D | Document_title_setter.phpt | 10 $dom = Dom\XMLDocument::createFromString('<root xmlns="http://www.w3.org/2000/svg"/>'); 14 $dom = Dom\XMLDocument::createFromString('<svg xmlns="http://www.w3.org/2000/svg"/>'); 22 $dom = Dom\XMLDocument::createFromString('<svg:svg xmlns:svg="http://www.w3.org/2000/svg"/>'); 27 $dom = Dom\XMLDocument::createFromString('<svg xmlns="http://www.w3.org/2000/svg">first node<div/><… 36 $dom = Dom\XMLDocument::createFromString('<root xmlns="http://www.w3.org/1999/xhtml"/>'); 40 $dom = Dom\XMLDocument::createFromString('<html xmlns="http://www.w3.org/1999/xhtml"/>'); 44 $dom = Dom\XMLDocument::createFromString('<html xmlns="http://www.w3.org/1999/xhtml"><foo/><head/><… 48 $dom = Dom\XMLDocument::createFromString('<html xmlns="http://www.w3.org/1999/xhtml"><head><?ignore… 52 $dom = Dom\XMLDocument::createFromString('<html xmlns="http://www.w3.org/1999/xhtml"><head><?ignore… 62 $dom = Dom\XMLDocument::createFromString('<root/>');
|
/php-src/ext/dom/tests/modern/html/parser/ |
H A D | HTMLDocument_fromString_parser_warning_02.phpt | 2 Dom\HTMLDocument::createFromString() - parser warning 02 9 $dom = Dom\HTMLDocument::createFromString($html); 14 Warning: Dom\HTMLDocument::createFromString(): tokenizer error unexpected-null-character in Entity,… 16 Warning: Dom\HTMLDocument::createFromString(): tokenizer error missing-whitespace-between-attribute… 18 Warning: Dom\HTMLDocument::createFromString(): tokenizer error incorrectly-opened-comment in Entity… 20 Warning: Dom\HTMLDocument::createFromString(): tokenizer error nested-comment in Entity, line: 7, c… 22 Warning: Dom\HTMLDocument::createFromString(): tree error unexpected-closed-token in Entity, line: … 24 Warning: Dom\HTMLDocument::createFromString(): tree error doctype-token-in-body-mode in Entity, lin…
|
H A D | HTMLDocument_parse_options.phpt | 28 foreach (["createFromString", "createFromFile"] as $method) { 42 --- Method createFromString --- 44 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:… 46 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:… 48 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:… 50 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:… 52 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:… 54 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:… 56 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:… 58 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:… [all …]
|
H A D | HTMLDocument_fromString_parser_warning_01.phpt | 2 Dom\HTMLDocument::createFromString() - parser warning 01 9 $dom = Dom\HTMLDocument::createFromString($html); 14 Warning: Dom\HTMLDocument::createFromString(): tokenizer error missing-end-tag-name in Entity, line… 16 Warning: Dom\HTMLDocument::createFromString(): tree error unexpected-token-in-initial-mode in Entit…
|
H A D | HTMLDocument_fromString_empty.phpt | 2 Dom\HTMLDocument::createFromString() - empty document 8 $dom = Dom\HTMLDocument::createFromString('');
|
H A D | HTMLDocument_fromString_LIBXML_HTML_NOIMPLIED_namespace.phpt | 2 Dom\HTMLDocument::createFromString() with LIBXML_HTML_NOIMPLIED namespace check 10 $dom = Dom\HTMLDocument::createFromString("", LIBXML_HTML_NOIMPLIED | LIBXML_NOERROR); 15 $dom = Dom\HTMLDocument::createFromString("<p>foo</p>", LIBXML_HTML_NOIMPLIED | LIBXML_NOERROR); 22 $dom = Dom\HTMLDocument::createFromString("<p>foo</p><strong>bar</strong>", LIBXML_HTML_NOIMPLIED |…
|
H A D | HTMLDocument_fromString_LIBXML_HTML_NOIMPLIED_error.phpt | 2 Dom\HTMLDocument::createFromString() with LIBXML_HTML_NOIMPLIED - tree error should not happen 8 $dom = Dom\HTMLDocument::createFromString("<div>foo</div>", LIBXML_HTML_NOIMPLIED);
|
H A D | HTMLDocument_fromString_DOM_HTML_NO_DEFAULT_NS.phpt | 2 Dom\HTMLDocument::createFromString() with Dom\HTML_NO_DEFAULT_NS 8 $dom = Dom\HTMLDocument::createFromString(file_get_contents(__DIR__ . "/paragraph.html"), LIBXML_HT… 14 $dom = Dom\HTMLDocument::createFromString(file_get_contents(__DIR__ . "/paragraph.html"), LIBXML_HT…
|
H A D | HTMLDocument_fromString_parser_warning_03.phpt | 2 Dom\HTMLDocument::createFromString() - parser warning 03 9 $dom = Dom\HTMLDocument::createFromString($html, LIBXML_NOERROR);
|
H A D | HTMLDocument_fromString_without_body.phpt | 2 Dom\HTMLDocument::createFromString() - document without body 8 $dom = Dom\HTMLDocument::createFromString('<!doctype html><p align="\'">foo '</p>');
|
H A D | HTMLDocument_fromString_old_dtd.phpt | 2 Dom\HTMLDocument::createFromString(): Old DTD 8 $dom = Dom\HTMLDocument::createFromString(<<<HTML 25 Warning: Dom\HTMLDocument::createFromString(): tree error bad-doctype-token-in-initial-mode in Enti…
|
H A D | user_error_handler.phpt | 14 Dom\HTMLDocument::createFromString('<html></html>'); 19 string(113) "Dom\HTMLDocument::createFromString(): tree error unexpected-token-in-initial-mode in E…
|
/php-src/ext/dom/tests/modern/xml/ |
H A D | XMLDocument_fromString_01.phpt | 2 Dom\XMLDocument::createFromString 01 8 Dom\XMLDocument::createFromString(""); 12 Fatal error: Uncaught ValueError: Dom\XMLDocument::createFromString(): Argument #1 ($source) must n… 14 #0 %s(%d): Dom\XMLDocument::createFromString('')
|
H A D | XMLDocument_createFromString_override_encoding.phpt | 2 Dom\XMLDocument::createFromString() with overrideEncoding 9 …Dom\XMLDocument::createFromString(file_get_contents(__DIR__ . '/dummy.xml'), overrideEncoding: 'no… 15 $dom = Dom\XMLDocument::createFromString(file_get_contents(__DIR__ . '/dummy.xml'), overrideEncodin… 20 $dom = Dom\XMLDocument::createFromString(file_get_contents(__DIR__ . '/dummy.xml'), overrideEncodin… 26 Dom\XMLDocument::createFromString(): Argument #3 ($overrideEncoding) must be a valid document encod…
|
H A D | XMLDocument_fromFile_01.phpt | 8 Dom\XMLDocument::createFromString(""); 12 Fatal error: Uncaught ValueError: Dom\XMLDocument::createFromString(): Argument #1 ($source) must n… 14 #0 %s(%d): Dom\XMLDocument::createFromString('')
|
H A D | XMLDocument_fromString_03.phpt | 2 Dom\XMLDocument::createFromString 03 13 Dom\XMLDocument::createFromString('<?xml version="1.0"?><container/>', -1); 19 …var_dump(Dom\XMLDocument::createFromString('<?xml version="1.0"?><container/>', $flag) instanceof … 24 Dom\XMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags: …
|
H A D | XMLDocument_fromString_02.phpt | 2 Dom\XMLDocument::createFromString 02 8 $dom = Dom\XMLDocument::createFromString('<?xml version="1.0"?><container/>');
|
H A D | XMLDocument_fromString_04.phpt | 2 Dom\XMLDocument::createFromString 04 12 $dom = Dom\XMLDocument::createFromString('<?xml version="1.0" encoding="Windows-1251"?><container/>…
|
/php-src/ext/dom/tests/modern/html/encoding/ |
H A D | HTMLDocument_encoding_unicode_error.phpt | 9 echo "--- createFromString ---\n"; 10 Dom\HTMLDocument::createFromString(file_get_contents(__DIR__."/utf16le_error.html")); 20 --- createFromString --- 22 Warning: Dom\HTMLDocument::createFromString(): tokenizer error missing-end-tag-name in Entity, line… 24 Warning: Dom\HTMLDocument::createFromString(): tree error unexpected-token in Entity, line: 7, colu… 26 Warning: Dom\HTMLDocument::createFromString(): tree error unexpected-token in Entity, line: 8, colu…
|
H A D | HTMLDocument_createFromString_override_encoding.phpt | 2 Dom\HTMLDocument::createFromString() with overrideEncoding 9 …Dom\HTMLDocument::createFromString(file_get_contents(__DIR__ . '/gb18030_without_charset.html'), o… 15 $dom = Dom\HTMLDocument::createFromString(file_get_contents(__DIR__ . '/gb18030_without_charset.htm… 20 $dom = Dom\HTMLDocument::createFromString(file_get_contents(__DIR__ . '/fallback_encoding.html'), o… 26 Dom\HTMLDocument::createFromString(): Argument #3 ($overrideEncoding) must be a valid document enco…
|
/php-src/ext/dom/tests/modern/html/interactions/ |
H A D | Document_body_setter.phpt | 9 $dom = DOM\HTMLDocument::createFromString('<p>foo</p>', LIBXML_NOERROR); 14 $dom = DOM\HTMLDocument::createFromString('<p>foo</p>', LIBXML_NOERROR); 20 $dom = DOM\HTMLDocument::createFromString('<p>foo</p>', LIBXML_NOERROR); 25 $dom = DOM\HTMLDocument::createFromString('<p>foo</p>', LIBXML_NOERROR); 32 $dom = DOM\XMLDocument::createFromString('<svg xmlns="http://www.w3.org/2000/svg"/>');
|
/php-src/ext/xsl/tests/ |
H A D | XSLTProcessor_namespace_mapper_lifetime.phpt | 9 $input = Dom\XMLDocument::createFromString(<<<XML 29 $processor->importStylesheet(Dom\XMLDocument::createFromString($xslXML)); 30 $processor->importStylesheet(Dom\XMLDocument::createFromString($xslXML));
|
/php-src/ext/dom/tests/ |
H A D | xml_parsing_LIBXML_RECOVER.phpt | 12 $dom = Dom\XMLDocument::createFromString('<root><child/>', options: LIBXML_RECOVER); 21 Warning: Dom\XMLDocument::createFromString(): %s
|
/php-src/ext/dom/tests/modern/spec/ |
H A D | serialize_non_default_empty_xmlns.phpt | 8 $dom = Dom\XMLDocument::createFromString('<test xmlns="urn:a"><a:child xmlns:a=" "/></test>'); 14 Warning: Dom\XMLDocument::createFromString(): xmlns:a: ' ' is not a valid URI in Entity, line: 1 in…
|