Permalink
Browse files

ext/XMLWriter updates

  • Loading branch information...
1 parent 252b9e9 commit c0e957920466c5d688d74a5c162e8a7f8cd5d43b @bjori bjori committed Jan 6, 2007
Showing with 13 additions and 0 deletions.
  1. +6 −0 NEWS
  2. +7 −0 README.UPDATE_5_2
View
6 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
View
@@ -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

0 comments on commit c0e9579

Please sign in to comment.