The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

XML::Compile::C14N - XML Canonicalization

SYNOPSIS

 my $schema = XML::Compile::Cache->new(...);
 my $c14n   = XML::Compile::C14N->new(schema => $schema);

DESCRIPTION

XML canonicalization is used to enforce an explicit formatting style on de XML documents. It is required to have a reproducable output when, for instance, digital signatures gets applied to parts of the document.

WARNING: Although you may wish for more, this module currently only helps to decode the C14N information, for instance used in digital signatures. The actual process of canonicalization is not (yet) implemented.

METHODS

Constructors

XML::Compile::C14N->new(OPTIONS)
 -Option --Default
  schema   undef
  version  '1.1'
schema => XML::Compile::Cache

Add the C14N extension information to the provided schema. If not used, you have to call loadSchemas() before compiling readers and writers.

version => STRING

Explicitly state which version C14N needs to be used.

Attributes

$obj->schema
$obj->version

Returns the version number.

Handling

$obj->loadSchemas(SCHEMA)

SCHEMA must extend XML::Compile::Cache.

SEE ALSO

Canonical XML Version 1.0

http://www.w3.org/TR/2001/REC-xml-c14n-20010315, 15 March 2001

Canonical XML Version 1.1

http://www.w3.org/TR/2008/REC-xml-c14n11-20080502/, 2 May 2008

SEE ALSO

This module is part of XML-Compile-C14N distribution version 0.10, built on April 26, 2011. Website: http://perl.overmeer.net/xml-compile/

Other distributions in this suite: XML::Compile, XML::Compile::SOAP, XML::Compile::SOAP12, XML::Compile::SOAP::Daemon, XML::Compile::SOAP::WSA, XML::Compile::C14N, XML::Compile::WSS, XML::Compile::Tester, XML::Compile::Cache, XML::Compile::Dumper, XML::Compile::RPC, XML::Rewrite, XML::eXistDB, and XML::LibXML::Simple.

Please post questions or ideas to the mailinglist at http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/xml-compile For live contact with other developers, visit the #xml-compile channel on irc.perl.org.

LICENSE

Copyrights 2011 by Mark Overmeer. For other contributors see ChangeLog.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html