PRANG CHANGES
This POD file documents a summary of the changes in PRANG. For the full list of changes, refer to the git history.
VERSION 0.10 - 27 June 2010
Fix enum support [reported by Heiko Jansen]
Add support for libxml indenting on to_xml [Heiko Jansen]
Specifying
xml_min => 0
on an element attribute is now equivalent toxml_required => 0
[Sam Vilain]New module PRANG::Coerce for creating coercion rules which are convenient for typical PRANG applications [Andy Chilton]
Support
YourXML::Language->parse_file
and->parse_fh
for convenience's sake [Sam Vilain]
VERSION 0.09 - 7 May 2010
No changes, just a re-bundling, as an included module was not the release version.
VERSION 0.08 - 7 May 2010
Distribution now includes all the modules required only for the tests. This, along with a bugfix in Scriptalicious, should hopefully close the last of the CPAN testers failures for 0.07.
An addition to PRANG::XMLSchema::Types Str subtypes:
date
,time
, and tightening of thedateTime
(it was not anchored before, so accepted any string containing a dateTime).
VERSION 0.07 - 26 Apr 2010
New documentation PRANG::XMLSchema::Guide which provides information on manually converting XML Schema specifications to PRANG classes.
Add a coerce rule for
PRANG::XMLSchema::token
types which normalizes whitespace on input values if enabled.The
xmlns
Class property now affects all sub-properties, but not the including element. This mirrors the default behaviour with XML Schema.
VERSION 0.06 - 14 Apr 2010
Correct the handling of attributes with no prefix. They should always be considered to have no namespace, even if a default xmlns is defined, apparently.
VERSION 0.05 - 14 Apr 2010
XML namespaces support is now much more complete; lots of cases, including wildcarding of both the node name and the XML namespace now work. This is powerful enough to successfully round-trip crazy XML Schema specifications such as
<any namespace="##any" processContents="skip"/>
PRANG::Graph::Class has been deprecated / ripped out. It was a hang-over from the time before
use PRANG::Graph;
set up the metaclass trait.It is no longer required to specify the
xmlns
method, if you do not wish to use namespaces.Specifying a role as a type now works, so long as the role is used by only PRANG::Graph types.
VERSION 0.04 - 9 Apr 2010
Much enhanced support for XML namespaces. Tests and functionality added; still lacking is the "Whatever" mapping, required for crazy XMLSchema stuff like
>any namespace="##any" processContents="skip"/<
- this will be supported in the next release.Various bug fixes, more rejection of invalid input, and so on.
VERSION 0.03 - 7 Apr 2010
Some error message enhancements for from various forms of API misunderstanding.
more missing dependencies added.
VERSION 0.02 - 25 Mar 2010
Back-port to work on pre-1.70 XML::LibXML
some missing dependencies added.
SEE ALSO
COPYRIGHT
Copyright 2010, NZ Registry Services. This documentation is licensed under the Artistic License v2.0, which permits relicensing under other Free Software licenses.