[PHP] RE: XmlWriter::writeDTD bug...

2005-12-07 Thread Jared Williams
-Original Message- From: Rob Richards [mailto:[EMAIL PROTECTED] Sent: 07 December 2005 04:21 To: [EMAIL PROTECTED] Cc: php-general@lists.php.net Subject: Re: XmlWriter::writeDTD bug... Jared Williams wrote: Hi, $writer = new XmlWriter(); ...

RE: [PHP] Re: XmlWriter::writeDTD bug...

2005-12-07 Thread Jared Williams
Jared Williams wrote: Hi, $writer = new XmlWriter(); ... $writer-writeDtd('html', '-//W3C//DTD XHTML 1.0 Strict//EN', 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'); produces no whitespace between the public system ids like... !DOCTYPE

Re: [PHP] Re: XmlWriter::writeDTD bug...

2005-12-07 Thread Rob Richards
Jared Williams wrote: PS. Yeah, thought it was libxml, hence didn't file a pecl bug report. But there does seem a problem with this method as can't just have a publicId or a systemId, libxml function uses NULL as a parameter to specify which id you don't want to use. Which we've lost

RE: [PHP] Re: XmlWriter::writeDTD bug...

2005-12-07 Thread Jared Williams
Jared Williams wrote: PS. Yeah, thought it was libxml, hence didn't file a pecl bug report. But there does seem a problem with this method as can't just have a publicId or a systemId, libxml function uses NULL as a parameter to specify which id you don't want to use. Which

[PHP] Re: XmlWriter::writeDTD bug...

2005-12-06 Thread Rob Richards
Jared Williams wrote: Hi, $writer = new XmlWriter(); ... $writer-writeDtd('html', '-//W3C//DTD XHTML 1.0 Strict//EN', 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'); produces no whitespace between the public system ids like... !DOCTYPE