|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-03-11 12:26 UTC] james dot zimmerman at comfreeze dot net
[2007-03-11 12:33 UTC] rrichards@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 14:00:01 2025 UTC |
Description: ------------ I have a home development server based on XAMPP full install where this code works fine. Uploaded to web server hosting with Dreamhost and the Public and System tags fail reporting no space between SYSTEM and PUBLIC parts of the DTD output. Both systems are reporting PHP 5.2.1 and are using SQLite 2.8.17, only inconsistency is Dreamhost phpinfo also lists PDO_SQLite @ 3.3.7 but SQLite databases create with standard calls appears to be generating the same SQLite 2.1 base files on both systems. Reproduce code: --------------- $outputWriter->writeDTD('html','-//W3C//DTD XHTML 1.0 Strict//EN', 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'); Expected result: ---------------- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> Actual result: -------------- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">