Home
last modified time | relevance | path

Searched refs:Dom (Results 1 – 25 of 308) sorted by relevance

12345678910>>...13

/php-src/ext/dom/tests/modern/html/parser/
H A DHTMLDocument_parse_options.phpt2 Dom\HTMLDocument: loading $options check
33 Dom\HTMLDocument::{$method}("x", $options);
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 DHTMLDocument_fromString_DOM_HTML_NO_DEFAULT_NS.phpt2 Dom\HTMLDocument::createFromString() with Dom\HTML_NO_DEFAULT_NS
8 $dom = Dom\HTMLDocument::createFromString(file_get_contents(__DIR__ . "/paragraph.html"), LIBXML_HT…
9 $xpath = new Dom\XPath($dom);
14 $dom = Dom\HTMLDocument::createFromString(file_get_contents(__DIR__ . "/paragraph.html"), LIBXML_HT…
15 $xpath = new Dom\XPath($dom);
22 object(Dom\NodeList)#3 (1) {
26 object(Dom\NodeList)#4 (1) {
30 object(Dom\NodeList)#3 (1) {
34 object(Dom\NodeList)#3 (1) {
H A DHTMLDocument_fromFile_DOM_HTML_NO_DEFAULT_NS.phpt2 Dom\HTMLDocument::createFromFile() with Dom\HTML_NO_DEFAULT_NS
8 $dom = Dom\HTMLDocument::createFromFile(__DIR__ . "/paragraph.html", LIBXML_HTML_NOIMPLIED | LIBXML…
9 $xpath = new Dom\XPath($dom);
14 $dom = Dom\HTMLDocument::createFromFile(__DIR__ . "/paragraph.html", LIBXML_HTML_NOIMPLIED | LIBXML…
15 $xpath = new Dom\XPath($dom);
22 object(Dom\NodeList)#3 (1) {
26 object(Dom\NodeList)#4 (1) {
30 object(Dom\NodeList)#3 (1) {
34 object(Dom\NodeList)#3 (1) {
H A DHTMLDocument_fromFile_nul_terminator_cases_path.phpt2 Dom\HTMLDocument::createFromFile() - NUL terminator cases path
9 Dom\HTMLDocument::createFromFile("\0");
14 Dom\HTMLDocument::createFromFile('%00');
21 Dom\HTMLDocument::createFromFile(): Argument #1 ($path) must not contain any null bytes
22 Dom\HTMLDocument::createFromFile(): Argument #1 ($path) must not contain percent-encoded NUL bytes
H A DHTMLDocument_fromString_parser_warning_02.phpt2 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…
/php-src/ext/dom/tests/modern/html/encoding/
H A DHTMLDocument_encoding_unicode_error.phpt2 Dom\HTMLDocument loading with unicode codepoints resulting in an error
8 Dom\HTMLDocument::createFromFile(__DIR__."/utf16le_error.html");
10 Dom\HTMLDocument::createFromString(file_get_contents(__DIR__."/utf16le_error.html"));
15 Warning: Dom\HTMLDocument::createFromFile(): tokenizer error missing-end-tag-name in %s on line %d
17 Warning: Dom\HTMLDocument::createFromFile(): tree error unexpected-token in %s on line %d
19 Warning: Dom\HTMLDocument::createFromFile(): tree error unexpected-token in %s on line %d
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 DHTMLDocument_createFromFile_override_encoding.phpt2 Dom\HTMLDocument::createFromFile() with overrideEncoding
9Dom\HTMLDocument::createFromFile(__DIR__ . '/gb18030_without_charset.html', overrideEncoding: 'non…
15 $dom = Dom\HTMLDocument::createFromFile(__DIR__ . '/gb18030_without_charset.html', overrideEncoding…
20 $dom = Dom\HTMLDocument::createFromFile(__DIR__ . '/fallback_encoding.html', overrideEncoding: 'Win…
26 Dom\HTMLDocument::createFromFile(): Argument #3 ($overrideEncoding) must be a valid document encodi…
H A DHTMLDocument_createFromString_override_encoding.phpt2 Dom\HTMLDocument::createFromString() with overrideEncoding
9Dom\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 DHTMLDocument_registerNodeClass_02.phpt2 Dom\HTMLDocument::registerNodeClass 02
8 class Custom extends Dom\Document {
13 $dom = Dom\HTMLDocument::createEmpty();
15 $dom->registerNodeClass("Dom\\Document", "Custom");
30 Dom\Document::registerNodeClass(): Argument #1 ($baseClass) must not be an abstract class
31 string(16) "Dom\HTMLDocument"
33 Fatal error: Uncaught Error: Call to undefined method Dom\HTMLDocument::foo() in %s:%d
H A DHTMLDocument_saveHTML_wrong_document.phpt2 Dom\HTMLDocument::saveHtml() wrong document
8 $dom = Dom\HTMLDocument::createEmpty();
9 $dom->saveHtml(Dom\HTMLDocument::createEmpty());
15 #0 %s(%d): Dom\HTMLDocument->saveHtml(Object(Dom\HTMLDocument))
H A DHTMLDocument_registerNodeClass_03.phpt2 Dom\HTMLDocument::registerNodeClass 03
8 class Custom extends Dom\HTMLElement {
17 $dom = Dom\HTMLDocument::createFromString("<div>foo</div>", LIBXML_NOERROR);
18 $dom->registerNodeClass("Dom\\HTMLElement", "Custom");
H A DHTMLDocument_saveHTMLFile_empty_path.phpt2 Dom\HTMLDocument::saveHtmlFile() empty path
8 $dom = Dom\HTMLDocument::createEmpty();
14 Fatal error: Uncaught ValueError: Dom\HTMLDocument::saveHtmlFile(): Argument #1 ($filename) must no…
16 #0 %s(%d): Dom\HTMLDocument->saveHtmlFile('')
H A DDom_Element_insertAdjacentHTML_errors.phpt2 Dom\Element::insertAdjacentHTML() with HTML nodes - error conditions
8 $dom = Dom\HTMLDocument::createEmpty();
14 $element->insertAdjacentHTML(Dom\AdjacentPosition::BeforeBegin, "test");
22 $element->insertAdjacentHTML(Dom\AdjacentPosition::AfterEnd, "test");
32 $element->insertAdjacentHTML(Dom\AdjacentPosition::BeforeBegin, "test");
40 $element->insertAdjacentHTML(Dom\AdjacentPosition::AfterEnd, "test");
H A DHTMLDocument_registerNodeClass_01.phpt2 Dom\HTMLDocument::registerNodeClass 01
9 $dom->registerNodeClass("Dom\\HTMLDocument", "DOMDocument");
13 …ass(): Argument #1 ($baseClass) must be a class name derived from DOMNode, Dom\HTMLDocument given …
15 #0 %s(%d): DOMDocument->registerNodeClass('Dom\\HTMLDocumen...', 'DOMDocument')
H A DHTMLDocument_clone.phpt2 Cloning a Dom\HTMLDocument
8 $dom = Dom\HTMLDocument::createFromString("<p>foo</p>");
20 Warning: Dom\HTMLDocument::createFromString(): tree error unexpected-token-in-initial-mode in Entit…
23 string(16) "Dom\HTMLDocument"
/php-src/ext/dom/tests/modern/common/
H A DDocument_title_getter.phpt2 Dom\Document::$title getter
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…
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 …]
/php-src/ext/dom/tests/modern/xml/
H A DXMLDocument_xpath.phpt2 Dom\XMLDocument interaction with XPath
8 $dom = Dom\XMLDocument::createFromString(<<<XML
19 $xpath = new Dom\XPath($dom);
55 object(Dom\NodeList)#4 (1) {
60 object(Dom\NodeList)#5 (1) {
69 string(25) "Dom\ProcessingInstruction"
71 string(11) "Dom\Comment"
74 … not well-defined in the living DOM specification. Use Dom\Element::getInScopeNamespaces() or Dom\…
H A DXMLDocument_fromString_01.phpt2 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 DXMLDocument_fromFile_01.phpt2 Dom\XMLDocument::createFromFile 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 DXMLDocument_fromEmptyDocument_01.phpt2 Dom\XMLDocument::createEmpty 01
8 Dom\XMLDocument::createEmpty(encoding: "foo");
12 Fatal error: Uncaught ValueError: Dom\XMLDocument::createEmpty(): Argument #2 ($encoding) is not a …
14 #0 %s(%d): Dom\XMLDocument::createEmpty('1.0', 'foo')
H A DXMLDocument_fromFile_02.phpt2 Dom\XMLDocument::createFromFile 02
8 Dom\XMLDocument::createFromFile("\\0");
12 Warning: Dom\XMLDocument::createFromFile(): I/O %s : failed to load %s
16 #0 %s(%d): Dom\XMLDocument::createFromFile('\\0')
H A DXMLDocument_xpath_errors.phpt2 Dom\XMLDocument interaction with XPath evaluate - errors
8 $dom = Dom\XMLDocument::createFromString('<root/>');
10 $xpath = new Dom\XPath($dom);
20 Warning: Dom\XPath::evaluate(): Invalid expression in %s on line %d
H A DXMLDocument_createFromString_override_encoding.phpt2 Dom\XMLDocument::createFromString() with overrideEncoding
9Dom\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 DXMLDocument_createFromFile_override_encoding.phpt2 Dom\XMLDocument::createFromFile() with overrideEncoding
9 Dom\XMLDocument::createFromFile(__DIR__ . '/dummy.xml', overrideEncoding: 'nonexistent');
15 $dom = Dom\XMLDocument::createFromFile(__DIR__ . '/dummy.xml', overrideEncoding: 'UTF-8');
20 $dom = Dom\XMLDocument::createFromFile(__DIR__ . '/dummy.xml', overrideEncoding: 'Windows-1252');
26 Dom\XMLDocument::createFromFile(): Argument #3 ($overrideEncoding) must be a valid document encoding
H A DXMLDocument_fromString_03.phpt2 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: …

Completed in 20 milliseconds

12345678910>>...13