/PHP-8.4/ext/dom/tests/modern/html/interactions/ |
H A D | HTMLDocument_registerNodeClass_01.phpt | 8 $dom = new DOMDocument(); 9 $dom->registerNodeClass("Dom\\HTMLDocument", "DOMDocument"); 13 Fatal error: Uncaught TypeError: DOMDocument::registerNodeClass(): Argument #1 ($baseClass) must be… 15 #0 %s(%d): DOMDocument->registerNodeClass('Dom\\HTMLDocumen...', 'DOMDocument')
|
/PHP-8.4/ext/dom/tests/ |
H A D | bug80602.phpt | 9 $doc = new \DOMDocument(); 15 $doc = new \DOMDocument(); 22 $doc = new \DOMDocument(); 28 $doc = new \DOMDocument(); 35 $doc = new \DOMDocument(); 41 $doc = new \DOMDocument(); 48 $doc = new \DOMDocument(); 54 $doc = new \DOMDocument(); 61 $doc = new \DOMDocument(); 67 $doc = new \DOMDocument(); [all …]
|
H A D | bug80602_2.phpt | 9 $doc = new \DOMDocument(); 15 $doc = new \DOMDocument(); 22 $doc = new \DOMDocument(); 28 $doc = new \DOMDocument(); 35 $doc = new \DOMDocument(); 41 $doc = new \DOMDocument(); 48 $doc = new \DOMDocument(); 54 $doc = new \DOMDocument(); 61 $doc = new \DOMDocument(); 67 $doc = new \DOMDocument(); [all …]
|
H A D | DOMDocument_config_basic.phpt | 2 Tests DOMDocument::config read 11 $dom = new DOMDocument; 12 echo "DOMDocument created\n"; 23 DOMDocument created 25 Deprecated: Property DOMDocument::$config is deprecated in %s on line %d
|
H A D | DOMDocument_schemaValidateSource_error1.phpt | 11 $doc = new DOMDocument; 20 Warning: DOMDocument::schemaValidateSource(): Entity: line 1: parser error : Start tag expected, '<… 22 Warning: DOMDocument::schemaValidateSource(): string that is not a schema in %s on line %d 24 Warning: DOMDocument::schemaValidateSource(): ^ in %s on line %d 26 Warning: DOMDocument::schemaValidateSource(): Failed to parse the XML resource 'in_memory_buffer'. … 28 Warning: DOMDocument::schemaValidateSource(): Invalid Schema in %s on line %d
|
H A D | DOMDocument_loadHTMLfile_error2.phpt | 2 Test DOMDocument::loadHTMLFile when an empty string is passed 11 $doc = new DOMDocument(); 18 $doc = new DOMDocument(); 26 DOMDocument::loadHTMLFile(): Argument #1 ($filename) must not be empty 27 DOMDocument::loadHTMLFile(): Argument #1 ($filename) must not contain any null bytes
|
H A D | DOMDocument_relaxNGValidate_error2.phpt | 2 DOMDocument::relaxNGValidate() should fail on invalid RelaxNG file source 17 $doc = new DOMDocument(); 23 Warning: DOMDocument::relaxNGValidate(): I/O %s : failed to load %s 25 Warning: DOMDocument::relaxNGValidate(): xmlRelaxNGParse: could not load %s/foo.rng in %s on line %d 27 Warning: DOMDocument::relaxNGValidate(): Invalid RelaxNG in %s on line %d
|
H A D | DOMDocument_schemaValidate_error1.phpt | 11 $doc = new DOMDocument; 20 Warning: DOMDocument::schemaValidate(): %sbook-not-a-schema.xsd:1: parser error : Start tag expecte… 22 Warning: DOMDocument::schemaValidate(): Let's see what happens upon parsing a file that doesn't con… 24 Warning: DOMDocument::schemaValidate(): ^ in %s on line %d 26 Warning: DOMDocument::schemaValidate(): Failed to parse the XML resource '%sbook-not-a-schema.xsd'.… 28 Warning: DOMDocument::schemaValidate(): Invalid Schema in %s on line %d
|
H A D | gh11791.phpt | 2 GH-11791 (Wrong default value of DOMDocument.xmlStandalone) 7 $doc = new DOMDocument(); 13 $doc = new DOMDocument(); 19 $doc = new DOMDocument(); 25 $doc = new DOMDocument();
|
H A D | DOMDocument_loadXML_error2_pre2_11.phpt | 2 Test DOMDocument::loadXML() detects not-well formed XML 24 Warning: DOMDocument::load%r(XML){0,1}%r(): AttValue: " or ' expected %s 26 Warning: DOMDocument::load%r(XML){0,1}%r(): attributes construct error %s 28 Warning: DOMDocument::load%r(XML){0,1}%r(): Couldn't find end of Start Tag book %s 30 Warning: DOMDocument::load%r(XML){0,1}%r(): Opening and ending tag mismatch: books %s 32 Warning: DOMDocument::load%r(XML){0,1}%r(): Extra content at the end of the document %s
|
H A D | DOMDocument_load_error2_pre2_11.phpt | 2 Test DOMDocument::load() detects not-well formed XML 24 Warning: DOMDocument::load%r(XML){0,1}%r(): AttValue: " or ' expected %s 26 Warning: DOMDocument::load%r(XML){0,1}%r(): attributes construct error %s 28 Warning: DOMDocument::load%r(XML){0,1}%r(): Couldn't find end of Start Tag book %s 30 Warning: DOMDocument::load%r(XML){0,1}%r(): Opening and ending tag mismatch: books %s 32 Warning: DOMDocument::load%r(XML){0,1}%r(): Extra content at the end of the document %s
|
H A D | dom_create_element.phpt | 8 print " 1 DOMDocument::createElement('valid')\n"; 17 print " 2 DOMDocument::createElement('-invalid')\n"; 26 print " 3 DOMDocument::createElement(' ')\n"; 35 print " 4 DOMDocument::createElement('prefix:valid')\n"; 321 1 DOMDocument::createElement('valid') 323 2 DOMDocument::createElement('-invalid') 325 3 DOMDocument::createElement(' ') 327 4 DOMDocument::createElement('prefix:valid') 337 9 DOMDocument::createElementNS('', 'prefix:invalid') 343 12 DOMDocument::createElementNS('-', 'prefix:valid') [all …]
|
H A D | DOMDocument_load_error6.phpt | 2 Test DOMDocument::load() with invalid paths 8 $dom = new DOMDocument(); 25 DOMDocument::load(): Argument #1 ($filename) must not be empty 26 DOMDocument::load(): Argument #1 ($filename) must not contain any null bytes
|
H A D | DOMDocument_load_error2_gte2_11.phpt | 2 Test DOMDocument::load() detects not-well formed 24 Warning: DOMDocument::load(): AttValue: " or ' expected in %s on line %d 26 Warning: DOMDocument::load(): internal error: xmlParseStartTag: problem parsing attributes in %s on… 28 Warning: DOMDocument::load(): Couldn't find end of Start Tag book line 4 in %s on line %d 30 Warning: DOMDocument::load(): Opening and ending tag mismatch: books line 3 and book in %s on line … 32 Warning: DOMDocument::load(): Extra content at the end of the document in %s on line %d
|
H A D | bug70558.phpt | 2 Bug #70558 ("Couldn't fetch" error in DOMDocument::registerNodeClass()) 8 class X extends \DOMDocument { 11 var_dump($this->registerNodeClass('DOMDocument', 'X'));
|
H A D | DOMDocument_schemaValidate_error5.phpt | 11 $doc = new DOMDocument; 20 Warning: DOMDocument::schemaValidate(): I/O %s : failed to load %s 22 Warning: DOMDocument::schemaValidate(): Failed to locate the main schema resource at '%snon-existen… 24 Warning: DOMDocument::schemaValidate(): Invalid Schema in %s on line %d
|
H A D | DOMDocument_load_error2_gte2_12.phpt | 2 Test DOMDocument::load() detects not-well formed 24 Warning: DOMDocument::load(): AttValue: " or ' expected in %s on line %d 26 Warning: DOMDocument::load():%sattributes%s 28 Warning: DOMDocument::load(): Couldn't find end of Start Tag book line 4 in %s on line %d 30 Warning: DOMDocument::load(): Opening and ending tag mismatch: books line 3 and book in %s on line …
|
H A D | DOMDocument_loadXML_error2_gte2_11.phpt | 2 Test DOMDocument::loadXML() detects not-well formed XML 24 Warning: DOMDocument::loadXML(): AttValue: " or ' expected in Entity, line: 4 in %s on line %d 26 Warning: DOMDocument::loadXML(): internal error: xmlParseStartTag: problem parsing attributes in En… 28 Warning: DOMDocument::loadXML(): Couldn't find end of Start Tag book line 4 in Entity, line: 4 in %… 30 Warning: DOMDocument::loadXML(): Opening and ending tag mismatch: books line 3 and book in Entity, … 32 Warning: DOMDocument::loadXML(): Extra content at the end of the document in Entity, line: 8 in %s …
|
H A D | DOMDocument_loadXML_error6.phpt | 2 Test DOMDocument::loadXML() with empty file path 8 $dom = new DOMDocument(); 16 DOMDocument::loadXML(): Argument #1 ($source) must not be empty
|
H A D | DOMDocument_saveHTMLFile_error2.phpt | 2 DOMDocument::saveHTMLFile() should fail if called statically 11 DOMDocument::saveHTMLFile(); 17 Non-static method DOMDocument::saveHTMLFile() cannot be called statically
|
H A D | DOMDocument_saveHTML_error2.phpt | 2 DOMDocument::saveHTML() should fail if called statically 11 DOMDocument::saveHTML(true); 17 Non-static method DOMDocument::saveHTML() cannot be called statically
|
H A D | DOMDocument_validate_error2.phpt | 2 DOMDocument::validate() should fail if called statically 11 DOMDocument::validate(); 17 Non-static method DOMDocument::validate() cannot be called statically
|
H A D | DOMDocument_loadHTML_error2.phpt | 2 DOMDocument::loadHTML() should fail if empty string provided as input 9 $doc = new DOMDocument(); 17 DOMDocument::loadHTML(): Argument #1 ($source) must not be empty
|
H A D | DOMDocument_loadXML_error2_gte2_12.phpt | 2 Test DOMDocument::loadXML() detects not-well formed XML 24 Warning: DOMDocument::loadXML(): AttValue: " or ' expected in Entity, line: 4 in %s on line %d 26 Warning: DOMDocument::loadXML():%sattributes%s 28 Warning: DOMDocument::loadXML(): Couldn't find end of Start Tag book line 4 in Entity, line: 4 in %… 30 Warning: DOMDocument::loadXML(): Opening and ending tag mismatch: books line 3 and book in Entity, …
|
/PHP-8.4/ext/xsl/tests/ |
H A D | bug49634.phpt | 34 $domXml = new DOMDocument; 36 $domXsl = new DOMDocument; 55 #1 %s(%d): XSLTProcessor->transformToDoc(Object(DOMDocument)) 60 #1 %s(%d): XSLTProcessor->transformToDoc(Object(DOMDocument)) 65 #1 %s(%d): XSLTProcessor->transformToDoc(Object(DOMDocument)) 70 #1 %s(%d): XSLTProcessor->transformToDoc(Object(DOMDocument)) 75 #1 %s(%d): XSLTProcessor->transformToDoc(Object(DOMDocument)) 80 #1 %s(%d): XSLTProcessor->transformToDoc(Object(DOMDocument)) 85 #1 %s(%d): XSLTProcessor->transformToDoc(Object(DOMDocument)) 90 #1 %s(%d): XSLTProcessor->transformToDoc(Object(DOMDocument)) [all …]
|