|
From: Grant M. <gr...@us...> - 2003-04-10 10:21:33
|
Update of /cvsroot/perl-xml/xml-simple
In directory sc8-pr-cvs1:/tmp/cvs-serv19607
Modified Files:
Changes README
Log Message:
- Updated for 2.04 release
Index: Changes
===================================================================
RCS file: /cvsroot/perl-xml/xml-simple/Changes,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- Changes 20 Jan 2003 07:48:59 -0000 1.8
+++ Changes 10 Apr 2003 10:21:29 -0000 1.9
@@ -1,159 +1,175 @@
Revision history for Perl module XML::Simple
+2.04 Mar 10 2004
+ - integrated a patch from Michel Rodriguez
+ + 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 (feature requested by Alex Manoussakis)
+ - 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
+
2.03 Jan 20 2003
- - fixed circular reference check which was incorrectly catching
- 'parallel' references (patch from Theo Lengyel)
+ - fixed circular reference check which was incorrectly catching
+ 'parallel' references (patch from Theo Lengyel)
2.02 Dec 15 2002
- - changed Storable calls to use locking (reported by Randal
- Schwarz)
+ - changed Storable calls to use locking (reported by Randal Schwarz)
2.01 Dec 11 2002
- - fixed bug whereby :strict mode required forcearray on
- XMLout() (reported by Ville Skytta)
+ - fixed bug whereby :strict mode required forcearray on
+ XMLout() (reported by Ville Skytta)
2.00 Dec 08 2002
- - 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)
- - POD: alphabetised options (patch from John Borwick)
- - POD: updated suppressempty (patch from Kjetil Kjernsmo)
- - added FAQ.pod to distribution and added new questions
+ - 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)
+ - POD: alphabetised options (patch from John Borwick)
+ - POD: updated suppressempty (patch from Kjetil Kjernsmo)
+ - added FAQ.pod to distribution and added new questions
1.08_01 Feb 14 2002 - beta release for testing SAX support
- - fixed errors with default namespace handling
- - minor POD updates
+ - fixed errors with default namespace handling
+ - minor POD updates
1.08 Feb 09 2002
- - re-release of 1.06 (stable) with minor updates ...
- - searchpath option now defaults to current directory if not set
- - fix to Storable test routine for test failures on Win32
- - removed obselete 'convert' script from distribution
+ - re-release of 1.06 (stable) with minor updates ...
+ - searchpath option now defaults to current directory if not set
+ - fix to Storable test routine for test failures on Win32
+ - removed obselete 'convert' script from distribution
1.07b Feb 05 2002 - beta release for testing SAX support
- - added SAX support including:
- + using SAX parsers
- + acting as a SAX handler
- + generating SAX events from XMLout() with new Handler option
- + acting as a SAX filter (via new DataHandler option)
- - added $ENV{XML_SIMPLE_PREFERRED_PARSER} and
- $XML::Simple::PREFERRED_PARSER for selecting a parser module
- - added namespace support (SAX only) with nsexpand option for both
- XMLin() and XMLout()
- - searchpath now defaults to current directory
- - parseropts option now officially deprecated
- - removed obselete 'convert' script from distribution
- - many POD updates (more to come)
+ - added SAX support including:
+ + using SAX parsers
+ + acting as a SAX handler
+ + generating SAX events from XMLout() with new Handler option
+ + acting as a SAX filter (via new DataHandler option)
+ - added $ENV{XML_SIMPLE_PREFERRED_PARSER} and
+ $XML::Simple::PREFERRED_PARSER for selecting a parser module
+ - added namespace support (SAX only) with nsexpand option for both
+ XMLin() and XMLout()
+ - searchpath now defaults to current directory
+ - parseropts option now officially deprecated
+ - removed obselete 'convert' script from distribution
+ - many POD updates (more to come)
1.06 Nov 19 2001
- - fixed version number in default xmldecl (thanks to Matt Sergeant for
- bug report and patch)
- - updated contact email address for author
+ - fixed version number in default xmldecl (thanks to Matt Sergeant for
+ bug report and patch)
+ - updated contact email address for author
1.05 Aug 31 2000
- - code re-org to make internals all OO for easier extending
- - added 'noattr' option to tell XMLout() not to use attributes (only
- nested elements) and XMLin() to discard attributes
- - added 'suppressempty' option to tell XMLin what to do with elements
- with no attributes and no content
- - added 'parseropts' option for specifying options which should be
- passed to the underlying XML::Parser object
- - added 'forcecontent' option to force text content to parse to a
- hash value even if the element has no attributes
- - fix for forcearray getting applied to text content
- - integrated patch from Paul Lindner to work around filenames sometimes
- being seen as XML when running under mod_perl
- - integrated patch from Edward Avis: filename '-' means stdin
- - fixed bug where a missing key attribute could cause a crash
- - added a warning message for above situation
- - added 'support' for CDATA sections - they always worked, but now
- they're in the test suite which should ensure they keep working
- - fixed error message when caching enabled but parsing from filehandle
- - fixed empty elements being skipped by XMLout() when folding enabled
- - fixed text content of '0' being skipped by XMLout()
+ - code re-org to make internals all OO for easier extending
+ - added 'noattr' option to tell XMLout() not to use attributes (only
+ nested elements) and XMLin() to discard attributes
+ - added 'suppressempty' option to tell XMLin what to do with elements
+ with no attributes and no content
+ - added 'parseropts' option for specifying options which should be
+ passed to the underlying XML::Parser object
+ - added 'forcecontent' option to force text content to parse to a
+ hash value even if the element has no attributes
+ - fix for forcearray getting applied to text content
+ - integrated patch from Paul Lindner to work around filenames sometimes
+ being seen as XML when running under mod_perl
+ - integrated patch from Edward Avis: filename '-' means stdin
+ - fixed bug where a missing key attribute could cause a crash
+ - added a warning message for above situation
+ - added 'support' for CDATA sections - they always worked, but now
+ they're in the test suite which should ensure they keep working
+ - fixed error message when caching enabled but parsing from filehandle
+ - fixed empty elements being skipped by XMLout() when folding enabled
+ - fixed text content of '0' being skipped by XMLout()
1.04 Apr 03 2000
- - fix for text content being skipped by XMLout
- - added (optional) OO interface for changing default options
- - added 'keeproot' option (requested by Mark D. Anderson - MDA)
- - added 'contentkey' option (also requested by MDA)
- - incorporated 'forcearray' as arrayref patch from Andrew McNaughton
+ - fix for text content being skipped by XMLout
+ - added (optional) OO interface for changing default options
+ - added 'keeproot' option (requested by Mark D. Anderson - MDA)
+ - added 'contentkey' option (also requested by MDA)
+ - incorporated 'forcearray' as arrayref patch from Andrew McNaughton
1.03 Mar 05 2000
- - added 'maketest' script for make impaired platforms
- - yet more cross platform robustness added to test scripts incl
- workaround for Win32 problem where writing to file changed contents
- but not timestamp(!)
- - backed out one overzealous use of File::Spec in test script
- - POD updates including XML::Twig description contributed by Michel
- Rodriguez
+ - added 'maketest' script for make impaired platforms
+ - yet more cross platform robustness added to test scripts incl
+ workaround for Win32 problem where writing to file changed contents
+ but not timestamp(!)
+ - backed out one overzealous use of File::Spec in test script
+ - POD updates including XML::Twig description contributed by Michel
+ Rodriguez
1.02b Feb 16 2000 - limited distribution beta
- - reinstated locking with new backwards compatibility code
- - fixed platform dependant pathname handling to use File::Basename &
- File::Spec in XML::Simple.pm and test scripts
- - fixed bug causing XMLout() to incorrectly barf on what it thought was
- a recursive data structure
- - removed spurious checking code which stopped XMLout unfolding a
- single nested hash
- - fixed t/4_MemShare.t to gracefully cope with the absense of utime()
- - changed t/3_Storable.t and t/5_MemCopy.t to skip gracefully if no
- Storable.pm
- - removed superflous eval blocks around requires
+ - reinstated locking with new backwards compatibility code
+ - fixed platform dependant pathname handling to use File::Basename &
+ File::Spec in XML::Simple.pm and test scripts
+ - fixed bug causing XMLout() to incorrectly barf on what it thought was
+ a recursive data structure
+ - removed spurious checking code which stopped XMLout unfolding a
+ single nested hash
+ - fixed t/4_MemShare.t to gracefully cope with the absense of utime()
+ - changed t/3_Storable.t and t/5_MemCopy.t to skip gracefully if no
+ Storable.pm
+ - removed superflous eval blocks around requires
1.01 Dec 1 1999
- - removed faulty locking code pending a fix
+ - removed faulty locking code pending a fix
1.00 Nov 25 1999
- - added escaping feature + noescape option
- - added xmldecl option
- - further tidy ups for thread safing
- - more POD revisions (incl: pointers to other modules)
+ - added escaping feature + noescape option
+ - added xmldecl option
+ - further tidy ups for thread safing
+ - more POD revisions (incl: pointers to other modules)
0.95 Nov 2 1999
- - added rootname option
- - added outputfile option
- - lots of internal tidy ups for thread safing
- - fixed bug in check for XML string to XMLin()
- - extra tests (esp option handling)
+ - added rootname option
+ - added outputfile option
+ - lots of internal tidy ups for thread safing
+ - fixed bug in check for XML string to XMLin()
+ - extra tests (esp option handling)
0.90 Oct 14 1999 (first beta release)
- - module renamed to XML::Simple ready for CPAN upload
- - XMLToOpt() renamed to XMLin()
- - OptToXML() renamed to XMLout()
- - added 'convert' script
+ - module renamed to XML::Simple ready for CPAN upload
+ - XMLToOpt() renamed to XMLin()
+ - OptToXML() renamed to XMLout()
+ - added 'convert' script
0.05 Sep 18 1999
- - fixed location of XML.pm in distribution (make install didn't work)
- - added tests for MemCopy
- - fixed ABSTRACT_FROM in Makefile.PL
- - fixed PREREQ_PM in Makefile.PL
+ - fixed location of XML.pm in distribution (make install didn't work)
+ - added tests for MemCopy
+ - fixed ABSTRACT_FROM in Makefile.PL
+ - fixed PREREQ_PM in Makefile.PL
0.04 Aug 10 1999
- - added caching using Storable.pm
- - updated MANIFEST to include missing test files
+ - added caching using Storable.pm
+ - updated MANIFEST to include missing test files
0.03 Jun 20 1999
- - rewrite of OptToXML
- - anonymous array support
- - more and better test routines
- - POD updates
+ - rewrite of OptToXML
+ - anonymous array support
+ - more and better test routines
+ - POD updates
0.02 Jun 10 1999
- - added support for OptToXML
- - fixed searchpath inconsistencies
- - added 'forcearray' option
- - POD improvements
- - much improved test routines
+ - added support for OptToXML
+ - fixed searchpath inconsistencies
+ - added 'forcearray' option
+ - POD improvements
+ - much improved test routines
0.01 May 27 1999
- - original version; created by h2xs 1.18
- - module called 'Getopt::XML'
- - included basic XMLToOpt routine
+ - original version; created by h2xs 1.18
+ - module called 'Getopt::XML'
+ - included basic XMLToOpt routine
Index: README
===================================================================
RCS file: /cvsroot/perl-xml/xml-simple/README,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- README 20 Jan 2003 07:48:59 -0000 1.8
+++ README 10 Apr 2003 10:21:29 -0000 1.9
@@ -56,16 +56,26 @@
STATUS
- This version (2.03) is the current stable release.
+ This version (2.04) is the current stable release.
Please send any feedback to the author: gr...@cp...
NEW IN THIS RELEASE
+ - new 'GroupTags' option (patch from Michel Rodriguez)
+ - optionally collapse 'content' hashes to scalars after folding
+ (also from Michel)
+ - new variable substitution facility via 'Variables' and 'VarAttr'
+ options (Michel again)
+ - new 'NormaliseSpace' option (suggested by Alex Manoussakis)
+ - option names are no longer case-sensitive and can include '_'
+ - XMLin() and XMLout() aliased to xml_in() and xml_out()
+
+ New in Version 2.03
- fixed circular reference check which was incorrectly catching
'parallel' references (patch from Theo Lengyel)
- New in Version 2.03:
+ New in Version 2.02:
- changed Storable calls to use locking
New in Version 2.01:
|