Home
last modified time | relevance | path

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

1234

/php-src/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-src/ext/libxml/tests/
H A Dlibxml_set_external_entity_loader_variation2.phpt7 @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 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-src/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
/php-src/ext/dom/tests/modern/spec/
H A DDocument_implementation_createDocument.phpt28 $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 DDocument_implementation_createDocumentType.phpt17 …$dtd = $dom->implementation->createDocumentType($test_item['uri'], $test_item['public'], $test_ite…
19 var_dump($dtd);
21 $dom->append($dom->importNode($dtd));
H A Dclone_dtd_node.phpt2 Cloning a dtd node
/php-src/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-src/ext/dom/tests/modern/html/parser/
H A DHTMLDocument_fromString_old_dtd.phpt9 <!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 DHTMLDocument_serialize_doctype.phpt9 <!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 Ddomimplementation.c255 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 Dbug30875.phpt9 <!DOCTYPE dtd [
H A Dxml_set_start_namespace_decl_handler_basic_expat.phpt22 ...Uri: file:/DTD/somewhere.dtd

Completed in 21 milliseconds

1234