From: Hannes Magnusson Date: Sat, 6 Jan 2007 16:50:55 +0000 (+0000) Subject: ext/XMLWriter updates X-Git-Tag: php-5.2.1RC3~95 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c0e957920466c5d688d74a5c162e8a7f8cd5d43b;p=php ext/XMLWriter updates --- diff --git a/NEWS b/NEWS index 778d848f28..917bb8af63 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,8 @@ PHP NEWS ?? Jan 2007, PHP 5.2.1RC3 - Improved proc_open(). Now on Windows it can run external commands not through CMD.EXE. (Dmitry) +- Fixed bug #39504 (xmlwriter_write_dtd_entity() creates Attlist tag, + not entity). (Hannes) 04 Jan 2007, PHP 5.2.1RC2 - Small optimization of the date() function (Matt,Ilia) @@ -17,6 +19,10 @@ PHP NEWS . canary protection (debug build only) . random generation of cookies and canaries - Added forward support for 'b' prefix in front of string literals. (Andrei) +- Add three new functions to ext/xmlwriter (Rob, Ilia) + . xmlwriter_start_dtd_entity() + . xmlwriter_end_dtd_entity() + . xmlwriter_write_dtd_entity() - Fixed incorrect function names on FreeBSD where inet_pton() was named __inet_pton() and inet_ntop() was named __inet_ntop(). (Hannes) - Fixed the validate email filter so that the letter "v" can also be used in diff --git a/README.UPDATE_5_2 b/README.UPDATE_5_2 index 75777fd7c8..35349d295d 100644 --- a/README.UPDATE_5_2 +++ b/README.UPDATE_5_2 @@ -876,6 +876,13 @@ In ext/xmlwriter - End current element - returns FALSE on error bool xmlwriter_write_raw(resource xmlwriter, string content) - Write text - returns FALSE on error +As of 5.2.1 #See http://cvs.php.net/viewvc.cgi/php-src/ext/xmlwriter/php_xmlwriter.c?r1=1.20.2.12.2.8&r2=1.20.2.12.2.9 + bool xmlwriter_start_dtd_entity(resource xmlwriter, string name, bool isparam) + - Create start DTD Entity - returns FALSE on error + bool xmlwriter_end_dtd_entity(resource xmlwriter) + - End current DTD Entity - returns FALSE on error + bool xmlwriter_write_dtd_entity(resource xmlwriter, string name, string content [, int pe [, string pubid [, string sysid [, string ndataid]]]]) + - Write full DTD Entity tag - returns FALSE on error New optional parameters