Home
last modified time | relevance | path

Searched refs:dtd (Results 1 – 25 of 64) sorted by relevance

123

/PHP-8.3/ext/dom/tests/delayed_freeing/
H A Ddtd_node.phpt2 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 Dnotation_declaration.phpt11 <!NOTATION myNotation SYSTEM "test.dtd">
25 string(8) "test.dtd"
28 string(8) "test.dtd"
31 string(8) "test.dtd"
/PHP-8.3/ext/libxml/tests/
H A Dlibxml_set_external_entity_loader_variation2.phpt7 @unlink(__DIR__ . "/foobar.dtd");
12 <!DOCTYPE foo PUBLIC "-//FOO/BAR" "foobar.dtd">
16 $dtd = <<<DTD
33 file_put_contents(__DIR__ . "/foobar.dtd", $dtd);
40 string(%d) "%sfoobar.dtd"
44 Warning: DOMDocument::validate(): Could not load the external subset "foobar.dtd" in %s on line %d
H A Dlibxml_set_external_entity_loader_basic.phpt12 $dtd = <<<DTD
17 function ($public, $system, $context) use($dtd){
22 fwrite($f, $dtd);
H A Dlibxml_set_external_entity_loader_variation1.phpt13 $dtd = <<<DTD
26 function ($public, $system, $context) use($dtd,$entity){
32 fwrite($f, $first ? $dtd : $entity);
/PHP-8.3/ext/dom/tests/
H A DDOMDocument_standalone_basic.phpt13 <!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 Dbug54601.phpt9 … set PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN" "http://www.docbook.org/xml/5.0/dtd/docbook.dtd" [
H A DDOMImplementation_createDocumentType_basic.phpt10 "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 DDOMNode_isEqualNode.phpt18 <!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 DDOMDocument_adoptNode.phpt86 … 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 DDOMDocument_documentURI_basic.phpt13 <!DOCTYPE s1 PUBLIC "http://www.ibm.com/example.dtd" "example.dtd">
H A Ddom005.phpt23 …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 DDOMDocument_resolveExternals_basic.phpt14 "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 Ddom007.phpt39 $dtd = $dom->doctype;
42 $nots = $dtd->notations;
61 $ents = $dtd->entities;
H A DDOMDocumentType_basic_001.phpt12 $xml .= '<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML//EN" "docbookx.dtd">';
44 systemId: docbookx.dtd
H A DDOMDocument_loadHTML_basic.phpt15 …PE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
/PHP-8.3/ext/xmlreader/tests/
H A D012.phpt22 <!DOCTYPE foo SYSTEM "012.dtd">
26 $xmlstring = str_replace('012.dtd', __DIR__.'/012.dtd', $xmlstring);
H A D008.phpt9 <!DOCTYPE LIST SYSTEM "dtdexample.dtd">
24 $dtdfile = rawurlencode(__DIR__) . '/dtdexample.dtd';
/PHP-8.3/ext/xml/tests/
H A Dbug30875.phpt9 <!DOCTYPE dtd [
H A Dxml_set_start_namespace_decl_handler_basic_expat.phpt22 ...Uri: file:/DTD/somewhere.dtd
H A Dxml_set_start_namespace_decl_handler_basic_libxml.phpt23 ...Uri: file:/DTD/somewhere.dtd
/PHP-8.3/
H A D.editorconfig16 [*.{dtd,html,inc,php,phpt,rng,wsdl,xml,xsd,xsl}]
/PHP-8.3/ext/simplexml/tests/
H A D009b.phpt9 <!DOCTYPE sxe SYSTEM "notfound.dtd">
H A D023.phpt10 <!DOCTYPE talks SYSTEM "nbsp.dtd" [
/PHP-8.3/ext/libxml/
H A Dlibxml.c185 xmlDtdPtr dtd = entity->parent; in php_libxml_unlink_entity_decl() local
186 if (dtd != NULL) { in php_libxml_unlink_entity_decl()
187 if (xmlHashLookup(dtd->entities, entity->name) == entity) { in php_libxml_unlink_entity_decl()
188 xmlHashRemoveEntry(dtd->entities, entity->name, NULL); in php_libxml_unlink_entity_decl()
190 if (xmlHashLookup(dtd->pentities, entity->name) == entity) { in php_libxml_unlink_entity_decl()
191 xmlHashRemoveEntry(dtd->pentities, entity->name, NULL); in php_libxml_unlink_entity_decl()
269 xmlDtdPtr dtd = (xmlDtdPtr) node; in php_libxml_node_free() local
270 if (dtd->_private == NULL) { in php_libxml_node_free()
273 xmlHashScan(dtd->entities, php_libxml_unlink_entity, dtd->entities); in php_libxml_node_free()
274 xmlHashScan(dtd->pentities, php_libxml_unlink_entity, dtd->pentities); in php_libxml_node_free()

Completed in 29 milliseconds

123