Ask a Question related to PHP Bugs, Design and Development.
-
rrichards@php.net #1
#40774 [Opn->Bgs]: Inconsitent XMLwriter::writeDTD
ID: 40774
Updated by: [email]rrichards@php.net[/email]
Reported By: james dot zimmerman at comfreeze dot net
-Status: Open
+Status: Bogus
Bug Type: XML related
Operating System: Windows XP SP2/Linux
PHP Version: 5.2.1
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit [url]http://www.php.net/support.php[/url] as this bug system is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Your libxml2 versions are different - issue fixed in libxml2 2.6.23.
Try turning indenting *ON* before writing DTD - I think this might work
as a workaround with pre .23 libs.
Previous Comments:
------------------------------------------------------------------------
[2007-03-11 12:26:49] james dot zimmerman at comfreeze dot net
Was extremely tired when I wrote this original message and accidently
reference a large chunk about SQLite which is also heavily used in this
process I'm having trouble with but not in the area I am reporting a
bug. I have two hosts, 1) XAMPP Full Install - Windows XP SP2, 2)
Dreamhost - Shared Host. Both report running PHP version 5.2.1 and yet
I am experiencing difficulty with the writeDTD tag when working source
on XAMPP is migrated to Dreamhost shared hosting. Basically on the
Dreamhost side the writeDTD tag is neglecting a space between the
SYSTEM and PUBLIC fields of the DTD causing it to error on validation
parsing.
------------------------------------------------------------------------
[2007-03-11 12:12:14] james dot zimmerman at comfreeze dot net
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 this bug report at [url]http://bugs.php.net/?id=40774&edit=1[/url]
rrichards@php.net Guest
-
#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... -
#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... -
#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

