]> granicus.if.org Git - php/commitdiff
ext/XMLWriter updates
authorHannes Magnusson <bjori@php.net>
Sat, 6 Jan 2007 16:50:55 +0000 (16:50 +0000)
committerHannes Magnusson <bjori@php.net>
Sat, 6 Jan 2007 16:50:55 +0000 (16:50 +0000)
NEWS
README.UPDATE_5_2

diff --git a/NEWS b/NEWS
index 778d848f28a8871c8657c9d1a90b3c5f0d399db0..917bb8af63babf8203b6470d0f44ba9d7ee028a5 100644 (file)
--- 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
index 75777fd7c82227dd14fee2020342b63a0bafe861..35349d295d3fc2913a04059cb97e2bc916ddf5e0 100644 (file)
@@ -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