# XML::TreePP Changes
2014
/11/17 (0.43)
*
Sync OpenBSD patches from their Ports tree. thanks to kucharskim
*
README.md added
2013
/11/07 (0.42)
*
add empty_element_tag_end option. thanks to Songmu
*
ensure unicode transmitted proprely. thanks to xenoterracide
*
it requires LWP 5.811 or later to use add_content_utf8 method in HTTP::Message
*
source repository is now on github
2010
/10/31 (0.41)
*
require_xml_decl option added. thanks to nicomen
*
empty element when #text node is undef
2009
/11/21 (0.40)
*
pod typo fix: (thanks to jkutej)
2009
/06/30 (0.39)
*
parsehttp now uses decoded_content method under LWP 5.802.
This allows compressed content by Content-Encoding: gzip, etc.
(thanks to cormanaz and ikegami)
2009
/03/01 (0.38)
*
dies by "Invalid tree" when write() is called without a hash argument.
*
warns by "Unsupported reference type" when write() is called with
a tree which contains unsupported references, ex. BLOBREF.
It avoids "Not a HASH reference" and "Can't use string as a HASH ref."
*
dies by "Unknown encoding" when unknown encoding is used.
*
No new features are added at this version except for the messages above.
2009
/01/17 (0.37)
*
new option: xml_deref dereferences the numeric character references,
like ë, 漢 etc.
Now UTF-8 flag is correctly treated. (thanks to haarg)
*
without xml_deref option, the numeric character references between
U+0080 and U+00FF are not dereferenced any more.
the numeric character references up to U+007F and the predefined
character entity references are still dereferenced per default.
*
supports Perl 5.8.4 which includes Encode 1.99_01. (thanks to SAPER)
2008
/10/26 (0.36)
*
supports spaces around the "=" sign in attribute (thanks to John)
ex. <Elem Attrib = "abc" />
*
Perl 5.10.0 has a memory leak problem on qr//
(thanks to Marcin Guzowski)
*
Makefile.PL now calls Jcode and HTTP::Lite when needed
2008
/01/05 (0.33)
*
Subversion on Google Code
*
supports UTF-8 with BOM when parsing XML
2007
/11/11 (0.32)
*
supports invalid xml decl quoted with single quote (thanks to xatrix)
ex. <?xml version='1.0' encoding='windows-1250'?>
2007
/09/22 (0.31)
*
"]]>" in CDATA must be separated into "<![CDATA[]]]]><![CDATA[>]]>"
*
utf8_flag option requires Perl 5.8.1
*
avoid "Wide character in print at" in writefile()
2007
/08/27 (0.29)
*
34_utf8_flag.t skips all tests on Perl 5.8.0
utf8::is_utf8() wasn't there in 5.8.0.
*
34_utf8_flag.t passes all tests on Perl 5.8.1-2
*
avoid "Use of uninitialized value in substitution" in xml_escape
2007
/08/13 (0.27)
*
bug fix: autoload Encode.pm on particular environment, $] == 5.008
*
pod revised. OPTIONS FOR PARSING/WRITING sections are separated.
2007
/08/07 (0.26)
*
new option: force_array => '*' means every elements (thanks to Niek)
*
new option: force_hash => [], and also '*' means every elements
*
new option: elem_class => 'class'
*
new tests: t/35_force_hash.t t/36_elem_class.t
2007
/07/28 (0.22)
*
new option: ident => 2 (thanks to Aaron)
*
new option: utf8_flag => 1
*
new option: base_class => 'class'
*
new tests: t/32_base_class.t t/33_indent.t t/34_utf8_flag.t
*
LICENSE field added in META.yml
2007
/07/25 (0.21)
*
bug fix: use_ixhash missing order on elements with attribute(s)
2007
/07/22 (0.20)
*
new option: http_lite => HTTP::Lite->new()
*
new option: lwp_useragent => LWP::UserAgent->new() (thanks to NEELY)
*
new option: use_ixhash => 1 (thanks to RENEEB)
*
first_out and last_out options keep its order (thanks to BASHI and sajohn52)
*
new tests: 27_http-lite-force.t 28_http-lwp-force.t
29_http-lwp-withcache.t 30_first_out.t 31_tie_ixhash.t
2006
/11/03 (0.19)
*
new option: text_node_key (thanks to Niek)
*
attr_prefix now supports zero-length prefix.
2006
/08/13 (0.18)
*
parsehttp()'s 4th argument: an HTTP request header as a hash ref.
*
new option: ignore_error (thanks to Riyousha)
*
new option: xml_decl (thanks to Stephen and Jon)
*
new tests: 20_http-lite-cached.t 21_http-lwp-cached.t
22_http-lite-headers.t 23_http-lwp-headers.t 24_ignore_error.t
2006
/05/25 (0.17)
*
bug fix: multiple CDATA or text nodes in a element (thanks to junichi)
*
new test: 19_multi_text.t
2006
/05/21 (0.16)
*
bug fix: character references support (since 0.14)
*
Encode::FB_XMLCREF support (again)
*
new test: 18_escape_amp.t
2006
/05/15 (0.14)
*
new encodings: eucJP-win and eucJP-ms (for Perl 5.005/5.6.1)
*
new entity references: '
*
character references supported: & &
*
spaces in text node are not deleted on parse() method.
*
returns are not added in text node on write() method.
*
HTTP tests are skipped per default: 09_http-lite.t 10_http-lwp.t
*
new tests: 00_pod.t 13_encoding_en.t 14_encoding_zh.t
15_encoding_ja.t 16_encoding_ko.t 17_output_encoding.t
2006
/04/30 (0.10)
*
attr_prefix parameter added to emulate E4X, ECMAScript for XML.
*
user_agent parameter and its default value added.
*
source code passed perltidy. (thanks to Nadim)
2006
/04/08 (0.08)
*
set() and get() method added.
*
cdata_scalar_ref option added. CDATASection's round trip supported.
*
some error checkes added. (thanks to Nadim)
2006
/03/09 (0.07)
*
Correct POD about parsehttp() method
2006
/03/02 (0.06)
*
parsehttp() method now supports the HTTP::Lite pure Perl module as well.
*
Bug fix: xml_escape() call in hash_to_xml() method. (thanks to suVene)
2006
/02/26 (0.04)
*
Correct POD about force_array option of new() method.
*
parsehttp() method returns a hash tree and xml source on array context.
2006
/02/22 (0.03)
*
Changes
2006
/02/21 (0.02)
*
Change encoding from ISO-8859-1 to UTF-8 is natively supported.
*
t/force_array.t t/parse.t t/parsefile.t t/parsehttp.t t/write.t
t/index.rdf t/family.xml
*
Test scripts added.
2006
/02/20 (0.01)
*
first release.