2.18 Aug 15 2007
- Non-unique key attribute values now trigger a warning (or a fatal
error in strict mode) rather than silently discarding data (patch
from Daniel Baysinger)
2.17 Aug 02 2007
- Added parse_string(), parse_file() and parse_fh() methods
- Added default_config_file(), and build_simple_tree() hook methods
- Tweak to implementation of exporting (patch from Stuart Moore)
- Documented hook methods
- Fixed test suite race condition (RT#28603 from Andreas J. König)
Changes since last packaged version (2.14):
2.16 Oct 30 2006
- Added test/fix for bad GroupTags option (report from Lee Goddard)
- Added new_hashref() hook method
- refactored cache save/restore methods for easier overriding
2.15 Oct 03 2006
- Makefile.PL changes: reject known-bad PurePerl and RTF parser modules;
default to XML::SAX::Expat if no parser installed
- allow '.' characters in variable names (suggested by Cosimo Streppone)
- fix output of undefs in arrayrefs with SuppressEmpty (reported by
ã‹ã‚“㪠- Kanna)
- tidy up code and docs around lexical filehandle passed to OutputFile
(report from Helge Sauer)
- reduce memory usage by passing XML strings by reference (patch from
Dan Sully)
developer is officially maintaining the package.
The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list). Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
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