2.14 Jan 29 2005
- unlink and lock fixes for VMS (patch from Peter (Stig) Edwards)
2.13 Nov 17 2004
- Fixed bug where NoIndent broke KeyAttr (reported by David Haas)
- Added copy_hash helper method which may be overridden to avoid
tied hashes becoming untied during XMLout (patch from Jan Sundberg)
- Fixed bug where GroupTags corrupted source hashref in XMLout
(reported by Bram)
- Tweaks to SuppressEmpty for undef with XMLout (report from jamesb),
behaviour now matches docs and additional behaviour of setting
option to 1 will skip undefined values altogether
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").
binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.
addresses PR pkg/28619 from H. Todd Fujinaka.
Relevant changes since 2.07:
- added NumericEscape option
- added ValueAttr option (patch from Anton Berezin)
- suppress 'wide character in print' warning (reported by Dawei Lin)
- Added AttrIndent option (patch from Volker Moell)
- Hash keys are now sorted alphabetically by default; enable the
new NoSort option if you don't want this (patch from Volker Moell)
- Fixed bug where disabling array folding broke anonymous array handling
- Fixed bug when unfolding a tied hash
- SuppressEmpty patch from Douglas Wilson
- POD update re XMLin(XMLout($data)) caveats (bug report from Slaven
Rezic)
- fixed hash ordering assumption in test script (reported by Michel
Rodriguez)
- fixed variable expansion not happening in attributes (patch from Paul
Bussé)
- added test to catch old versions of Storable which lack locking support
- removed new-style loop which broke on 5.005_03
- suppress more uninitialised variable warnings
- fixed strict mode requiring ForceArray on output
- fixed warnings about uninitialised values
- fixed warnings when NormaliseSpace undefined
- added support for specifying ForceArray using regular expressions
- added check to escape_value to guard against undefined argument
- added NoIndent option
- integrated a patch
+ new facility for removing extra levels of indirection (using
the new 'GroupTags' option)
+ new facility for rolling the dreaded 'content' hash up into a
scalar if there are no keys left after array folding (using the
'-' prefix mode on the ContentKey option)
+ new facility for doing variable substitution in the XML; variables
can be defined in Perl (using the new 'Variables' option) or in
the XML document (using the new 'VarAttr' option)
- added 'NormaliseSpace' option for tidying up hash keys and other
text content if required
- option names are now case-insensitive and can include underscores
- XMLin() and XMLout() are now aliased to xml_in() and xml_out() when
called as methods or imported explicitly
- option names passed to XML::Simple->new() are now validated
Changes :
- fixed circular reference check which was incorrectly catching
'parallel' references (patch from Theo Lengyel)
- changed Storable calls to use locking (reported by Randal
Schwarz)
- fixed bug whereby :strict mode required forcearray on
XMLout() (reported by Ville Skytta)
- first production release with SAX support
- added support for 'strict mode' using :strict import tag
- removed locking code (as it was incompatible with iThreads)
- integrated patch for test failures from Sean Campbell
- fixed stringification of references during folding (reported
by Trond Michelsen)
- fixed incompatability with Tie::IxHash (reported by
Venkataramana Mokkapati)
- PODs updated
* for changes before v2.00, see ChangeLog