/php-src/ext/dom/tests/delayed_freeing/ |
H A D | dtd_node.phpt | 2 Delayed freeing dtd node 8 $dtd = $doc->implementation->createDocumentType('qualified name', 'public', 'system'); 9 $doc = $doc->implementation->createDocument('', '', $dtd); 12 echo $dtd->ownerDocument->saveXML(); 13 $dtd->ownerDocument->removeChild($dtd); 14 var_dump($dtd->ownerDocument->nodeName);
|
H A D | notation_declaration.phpt | 11 <!NOTATION myNotation SYSTEM "test.dtd"> 25 string(8) "test.dtd" 28 string(8) "test.dtd" 31 string(8) "test.dtd"
|
/php-src/ext/libxml/tests/ |
H A D | libxml_set_external_entity_loader_variation2.phpt | 7 @unlink(__DIR__ . "/foobar.dtd"); 13 <!DOCTYPE foo PUBLIC "-//FOO/BAR" "foobar.dtd"> 17 $dtd = <<<DTD 34 file_put_contents(__DIR__ . "/foobar.dtd", $dtd); 41 string(%d) "%sfoobar.dtd" 45 Warning: DOMDocument::validate(): Could not load the external subset "foobar.dtd" in %s on line %d
|
H A D | libxml_set_external_entity_loader_basic.phpt | 12 $dtd = <<<DTD 17 function ($public, $system, $context) use($dtd){ 22 fwrite($f, $dtd);
|
H A D | libxml_set_external_entity_loader_variation1.phpt | 13 $dtd = <<<DTD 26 function ($public, $system, $context) use($dtd,$entity){ 32 fwrite($f, $first ? $dtd : $entity);
|
/php-src/ext/dom/tests/ |
H A D | DOMDocument_standalone_basic.phpt | 13 <!DOCTYPE s1 PUBLIC "http://www.ibm.com/example.dtd" "example.dtd"> 45 <!DOCTYPE s1 PUBLIC "http://www.ibm.com/example.dtd" "example.dtd">
|
H A D | bug54601.phpt | 9 … set PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN" "http://www.docbook.org/xml/5.0/dtd/docbook.dtd" [
|
H A D | DOMImplementation_createDocumentType_basic.phpt | 10 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"); 24 …html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
H A D | DOMNode_isEqualNode.phpt | 18 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd" [ 21 <!NOTATION myNotation SYSTEM "test.dtd"> 81 $dom2->loadXML('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/x.dtd… 83 …DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN2" "http://www.w3.org/TR/html4/strict.dtd"><html/>'); 85 …DOCTYPE HTML2 PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html/>'); 87 …!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html/>'); 122 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd" [ 135 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd" [ 136 <!NOTATION myNotation SYSTEM "test.dtd"> 137 <!NOTATION myNotation2 SYSTEM "test2.dtd"> [all …]
|
H A D | DOMDocument_adoptNode.phpt | 86 … set PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN" "http://www.docbook.org/xml/5.0/dtd/docbook.dtd" [ 155 … set PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN" "http://www.docbook.org/xml/5.0/dtd/docbook.dtd" [ 161 … set PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN" "http://www.docbook.org/xml/5.0/dtd/docbook.dtd" [
|
H A D | DOMDocument_documentURI_basic.phpt | 13 <!DOCTYPE s1 PUBLIC "http://www.ibm.com/example.dtd" "example.dtd">
|
H A D | dom005.phpt | 23 …PE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> 29 …PE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
H A D | DOMDocument_resolveExternals_basic.phpt | 14 "http://www.w3.org/TR/html4/strict.dtd"> 33 * Don't bother testing the resolveExternals functionality here, it throws warnings on html dtd
|
H A D | dom007.phpt | 39 $dtd = $dom->doctype; 42 $nots = $dtd->notations; 61 $ents = $dtd->entities;
|
H A D | DOMDocumentType_basic_001.phpt | 12 $xml .= '<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML//EN" "docbookx.dtd">'; 44 systemId: docbookx.dtd
|
/php-src/ext/dom/tests/modern/spec/ |
H A D | Document_implementation_createDocument.phpt | 28 $dtd = $dom->implementation->createDocumentType("mydoc", "", ""); 29 echo $dom->implementation->createDocument(null, "", $dtd)->saveXml(), "\n"; 34 $dtd = $dom2->implementation->createDocumentType("mydoc", "", ""); 35 echo $dom->implementation->createDocument(null, "", $dtd)->saveXml(), "\n";
|
H A D | Document_implementation_createDocumentType.phpt | 17 …$dtd = $dom->implementation->createDocumentType($test_item['uri'], $test_item['public'], $test_ite… 19 var_dump($dtd); 21 $dom->append($dom->importNode($dtd));
|
H A D | clone_dtd_node.phpt | 2 Cloning a dtd node
|
/php-src/ext/xmlreader/tests/ |
H A D | 012.phpt | 22 <!DOCTYPE foo SYSTEM "012.dtd"> 26 $xmlstring = str_replace('012.dtd', __DIR__.'/012.dtd', $xmlstring);
|
H A D | 008.phpt | 9 <!DOCTYPE LIST SYSTEM "dtdexample.dtd"> 24 $dtdfile = rawurlencode(__DIR__) . '/dtdexample.dtd';
|
/php-src/ext/dom/tests/modern/html/parser/ |
H A D | HTMLDocument_fromString_old_dtd.phpt | 9 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 34 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
/php-src/ext/dom/tests/modern/html/serializer/ |
H A D | HTMLDocument_serialize_doctype.phpt | 9 <!DOCTYPE HTML1234 PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 28 <!DOCTYPE html1234 PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
/php-src/ext/dom/ |
H A D | domimplementation.c | 255 zval *dtd = NULL; in PHP_METHOD() local 260 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "P!P|O!", &uri, &qualified_name, &dtd, dom_modern_docum… in PHP_METHOD() 264 if (dtd != NULL) { in PHP_METHOD() 265 DOM_GET_OBJ(doctype, dtd, xmlDtdPtr, doctobj); in PHP_METHOD() 369 xmlDtdPtr dtd = xmlCreateIntSubset(doc, BAD_CAST "html", NULL, NULL); in PHP_METHOD() local 399 …if (UNEXPECTED(dtd == NULL || html_element == NULL || head_element == NULL || (title != NULL && ti… in PHP_METHOD()
|
/php-src/ext/xml/tests/ |
H A D | bug30875.phpt | 9 <!DOCTYPE dtd [
|
H A D | xml_set_start_namespace_decl_handler_basic_expat.phpt | 22 ...Uri: file:/DTD/somewhere.dtd
|