Ask a Question related to PHP Bugs, Design and Development.
-
james dot zimmerman at comfreeze dot net #1
#40774 [NEW]: Inconsitent XMLwriter::writeDTD
From: james dot zimmerman at comfreeze dot net
Operating system: Windows XP SP2/Linux
PHP version: 5.2.1
PHP Bug Type: XML related
Bug description: Inconsitent XMLwriter::writeDTD
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">
--
Edit bug report at [url]http://bugs.php.net/?id=40774&edit=1[/url]
--
Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=40774&r=trysnapshot44[/url]
Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=40774&r=trysnapshot52[/url]
Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=40774&r=trysnapshot60[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=40774&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=40774&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=40774&r=needtrace[/url]
Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=40774&r=needscript[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=40774&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=40774&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=40774&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=40774&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=40774&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=40774&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=40774&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=40774&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=40774&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=40774&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=40774&r=float[/url]
No Zend Extensions: [url]http://bugs.php.net/fix.php?id=40774&r=nozend[/url]
MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=40774&r=mysqlcfg[/url]
james dot zimmerman at comfreeze dot net Guest
-
#40774 [Opn->Bgs]: Inconsitent XMLwriter::writeDTD
ID: 40774 Updated by: rrichards@php.net Reported By: james dot zimmerman at comfreeze dot net -Status: Open... -
#40774 [Opn]: Inconsitent XMLwriter::writeDTD
ID: 40774 User updated by: james dot zimmerman at comfreeze dot net Reported By: james dot zimmerman at comfreeze dot net... -
#39851 [NEW]: Indentation with XMLWriter::writePi()
From: fabrice at scriptsphp dot org Operating system: debian sarge PHP version: 5.2.0 PHP Bug Type: XML related Bug... -
writing out schema attribute in xmlwriter
Hi, Im am trying to write out my schema xsd reference at the top of the xml attribute using xmlWriter.WriteAttributeString but im not totally...



Reply With Quote

