Test: /ext/dom/tests/bug67081.phpt - Version 5.5.36        

Bug #67081 DOMDocumentType->internalSubset returns entire DOCTYPE tag, not only the subset
Submitted: 2014-04-15 18:45:54 Modified:
From: petrhudecek2010 Assigned:
Status: Closed Package: DOM XML related
PHP Version: 5.5.11 OS: Windows

There are 2 different diffs reported by users for this test.

Count Diff
1 (50%)
007+
008+ Notice: DOMDocument::load(): failed to load external entity "dom.ent" in /home/dxa/下载/php-5.5.36/ext/dom/tests/dom.xml, line: 4 in %s/bug67081.php on line 19
009+ string(36) "<!ENTITY % incent SYSTEM "dom.ent">
007- string(277) "<!ENTITY % incent SYSTEM "dom.ent">
008- <!ENTITY amp "&#38;#38;">
009- <!ENTITY gt "&#62;">
010- <!ENTITY % coreattrs "title CDATA #IMPLIED">
011- <!ENTITY % attrs "%coreattrs;">
012- <!ATTLIST foo bar CDATA #IMPLIED>
013- <!ELEMENT foo (#PCDATA)>
014- <!ELEMENT root (foo)+>
015- <!ATTLIST th title CDATA #IMPLIED>
1 (50%)
007+
008+ Notice: DOMDocument::load(): failed to load external entity "dom.ent" in Entity, line: 1 in %s/bug67081.php on line 19
009+ string(36) "<!ENTITY % incent SYSTEM "dom.ent">
007- string(277) "<!ENTITY % incent SYSTEM "dom.ent">
008- <!ENTITY amp "&#38;#38;">
009- <!ENTITY gt "&#62;">
010- <!ENTITY % coreattrs "title CDATA #IMPLIED">
011- <!ENTITY % attrs "%coreattrs;">
012- <!ATTLIST foo bar CDATA #IMPLIED>
013- <!ELEMENT foo (#PCDATA)>
014- <!ELEMENT root (foo)+>
015- <!ATTLIST th title CDATA #IMPLIED>