1Revision history for Perl extension XML::Writer. 2 30.545 Mon May 16 08:11:17 BST 2005 <joe@kafsemo.org> 4 - Format comments like elements when in data mode. 5 - Only attempt Unicode tests for Perl >= 5.8.1. 6 70.540 Tue May 10 18:18:58 BST 2005 <joe@kafsemo.org> 8 - Don't die when ENCODING is specified with a scalar OUTPUT. 9 - Add support for US-ASCII encoding. 10 110.531 Mon Mar 14 22:11:33 GMT 2005 <joe@kafsemo.org> 12 - Rename internal String package to avoid clash with external modules. 13 - Fix Unicode test skipping for Perls before 5.8. 14 150.530 Tue Feb 1 13:09:31 GMT 2005 <joe@kafsemo.org> 16 - Allow scalar references for the OUTPUT parameter, inspired by 17 Simon Oliver's XML::Writer::String (patch from Yanick Champoux) 18 - Added ENCODING parameter; currently only UTF-8 is supported 19 - Escape newlines in attribute values 20 210.520 Wed Sep 1 16:18:46 BST 2004 <joe@kafsemo.org> 22 - Fixed bug with forced declaration of the default namespace (#7266) 23 - Removed dead code. Added copyright notices to pod. 24 - Improved test coverage 25 260.510 Tue May 25 19:46:04 BST 2004 <joe@kafsemo.org> 27 - Permitted in-document namespace prefix control 28 - Don't reopen STDOUT for output (closes #6232) 29 - Moved tests into t/. Added tests for mid-document namespace changes. 30 Show diffs when comparison tests fail 31 320.500 Sat Mar 6 22:45:54 GMT 2004 <joe@kafsemo.org> 33 - Prepared metadata for a consistent, CPAN-friendly 0.500 release 34 - Added a META.yml to prevent XML::Writer::Namespaces from 35 being indexed 36 - Writer.pm: Removed a duplicate check for valid attribute names 37 - test.pl: Added more tests for full coverage of the cdata method 38 390.4.6 Tue Mar 2 16:54:04 GMT 2004 <joe@kafsemo.org> 40 - test.pl: Revert to using a temporary file, rather than an 41 IO::String, for compatibility with older Perls 42 430.4.5 Mon Mar 1 14:46:47 GMT 2004 <joe@kafsemo.org> 44 - added FORCED_NS_DECLS parameter, to declare namespaces ahead of use 45 - fixed check for duplicate attributes 46 - correctly take the default namespace from the supplied prefix map 47 - no longer produce namespace declarations for the 'xml:' prefix 48 - allow xml-stylesheet PIs 49 - fixed warnings about uninitialised values 50 - added a comprehensive suite of tests, using Test::More 51 520.4.2 Sun Feb 22 15:33:44 GMT 2004 ed@membled.com 53 - added raw() to print raw, unescaped text 54 - patch from srinithan adding cdata() and cdataElement() to 55 write CDATA sections 56 570.4.1 Sat Oct 18 19:51:51 BST 2003 ed@membled.com 58 - fixed deprecation warning from 'use IO' 59 600.4 Tue Apr 4 21:59:51 EDT 2000 61 - added support for a simple data mode (off by default), with 62 no mixed content and automatic whitespace and indenting 63 - added get/setDataMode and get/setDataIndent methods 64 - added DATA_MODE and DATA_INDENT parameters to constructor 65 - added dataElement method for simple case (character data 66 content only) 67 680.3 Thu Dec 9 12:49:28 EST 1999 69 - fixed frequently-reported attribute-list bug 70 - changed xmlDecl() so that first argument is the encoding 71 - added 'use IO;' to avoid errors 72 - documented the doctype() method 73 740.2 75 - added Namespace support (XML::Writer::Namespaces subclass 76 and NAMESPACES constructor parameter) 77 - added PREFIX_MAP constructor parameter, and 78 add/removePrefix() methods for Namespace support 79 - added getOutput() and setOutput() methods 80 - added new query methods in_element(), within_element(), 81 current_element(), and ancestor() 82 - changed constructor to use parameterized arguments 83 - added constructor option to insert newlines in tags 84 - element name is now optional in endTag() method 85 - fixed test.pl to work on Mac, and added new test 86 - added more examples in documentation 87 - require at least Perl 5.004 88 890.1 Mon Apr 19 12:27:36 1999 90 - original version; created by h2xs 1.19 91 92