BSD Ports

textproc/p5-XML-Compile 1.64 FreeBSD

Compilation based XML processing

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
textproc, perl5
Package size
198.4 KiB, 725.6 KiB installed

Description

Many applications which process data-centric XML do that based on a nice specification, expressed in an XML Schema. XML::Compile reads and writes XML data with the help of such schema's. On the Perl side, it uses a tree of nested hashes with the same structure.

Where other Perl modules, like SOAP::WSDL help you using these schema's (often with a lot of run-time (XPath) searches), this module takes a different approach: in stead of run-time processing of the specification, it will first compile the expected structure into real Perl, and then use that to process the data.

There are many perl modules with the same as this one: translate between XML and nested hashes. However, there are a few serious differences: because the schema is used here, we make sure we only handle correct data. Data-types are formatted and processed correctly; for instance, integer does accept huge values (at least 18 digits) as the specification prescribes. Also more complex data-types like list, union, and substitutionGroup (unions on complex type level) are supported, which is rarely the case in other modules.

In the other systems

SystemPortVersion
FreeBSDtextproc/p5-XML-Compile1.64
NetBSDtextproc/p5-XML-Compile1.63nb7
DragonFlytextproc/p5-XML-Compile1.64

Install

Binary package:

pkg install p5-XML-Compile

From the ports tree:

cd /usr/ports/textproc/p5-XML-Compile/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-XML-Compile>0:textproc/p5-XML-Compile

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.641.641.631.641.64
FreeBSD:14:quarterly1.641.64n/a1.641.64
FreeBSD:15:latest1.641.64n/a1.641.64
FreeBSD:15:quarterly1.641.64n/an/an/a
FreeBSD:16:latest1.641.64n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 3

Test 2

The full lists below include those, and their dependencies in turn.

Build dependencies 36
Run dependencies 36

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 55
  • bin/schema2example
  • bin/xml2json
  • bin/xml2yaml
  • %%SITE_PERL%%/XML/Compile.pm
  • %%SITE_PERL%%/XML/Compile.pod
  • %%SITE_PERL%%/XML/Compile/FAQ.pod
  • %%SITE_PERL%%/XML/Compile/Iterator.pm
  • %%SITE_PERL%%/XML/Compile/Iterator.pod
  • %%SITE_PERL%%/XML/Compile/Schema.pm
  • %%SITE_PERL%%/XML/Compile/Schema.pod
  • %%SITE_PERL%%/XML/Compile/Schema/BuiltInFacets.pm
  • %%SITE_PERL%%/XML/Compile/Schema/BuiltInFacets.pod
  • %%SITE_PERL%%/XML/Compile/Schema/BuiltInTypes.pm
  • %%SITE_PERL%%/XML/Compile/Schema/BuiltInTypes.pod
  • %%SITE_PERL%%/XML/Compile/Schema/Instance.pm
  • %%SITE_PERL%%/XML/Compile/Schema/Instance.pod
  • %%SITE_PERL%%/XML/Compile/Schema/NameSpaces.pm
  • %%SITE_PERL%%/XML/Compile/Schema/NameSpaces.pod
  • %%SITE_PERL%%/XML/Compile/Schema/Specs.pm
  • %%SITE_PERL%%/XML/Compile/Schema/Specs.pod
  • %%SITE_PERL%%/XML/Compile/Translate.pm
  • %%SITE_PERL%%/XML/Compile/Translate.pod
  • %%SITE_PERL%%/XML/Compile/Translate/Reader.pm
  • %%SITE_PERL%%/XML/Compile/Translate/Reader.pod
  • %%SITE_PERL%%/XML/Compile/Translate/Template.pm
  • %%SITE_PERL%%/XML/Compile/Translate/Template.pod
  • %%SITE_PERL%%/XML/Compile/Translate/Writer.pm
  • %%SITE_PERL%%/XML/Compile/Translate/Writer.pod
  • %%SITE_PERL%%/XML/Compile/Util.pm
  • %%SITE_PERL%%/XML/Compile/Util.pod
  • %%SITE_PERL%%/XML/Compile/xsd/1998-namespace.xsd
  • %%SITE_PERL%%/XML/Compile/xsd/1999-XMLSchema-part2.xsd
  • %%SITE_PERL%%/XML/Compile/xsd/1999-XMLSchema.xsd
  • %%SITE_PERL%%/XML/Compile/xsd/2000-XMLSchema.xsd
  • %%SITE_PERL%%/XML/Compile/xsd/2001-XMLSchema-instance.xsd
  • %%SITE_PERL%%/XML/Compile/xsd/2001-XMLSchema.dtd
  • %%SITE_PERL%%/XML/Compile/xsd/2001-XMLSchema.xsd
  • %%SITE_PERL%%/XML/Compile/xsd/2001-datatypes.dtd
  • %%PERL5_MAN1%%/schema2example.1.gz
  • %%PERL5_MAN1%%/xml2json.1.gz
  • %%PERL5_MAN1%%/xml2yaml.1.gz
  • %%PERL5_MAN3%%/XML::Compile.3.gz
  • %%PERL5_MAN3%%/XML::Compile::FAQ.3.gz
  • %%PERL5_MAN3%%/XML::Compile::Iterator.3.gz
  • %%PERL5_MAN3%%/XML::Compile::Schema.3.gz
  • %%PERL5_MAN3%%/XML::Compile::Schema::BuiltInFacets.3.gz
  • %%PERL5_MAN3%%/XML::Compile::Schema::BuiltInTypes.3.gz
  • %%PERL5_MAN3%%/XML::Compile::Schema::Instance.3.gz
  • %%PERL5_MAN3%%/XML::Compile::Schema::NameSpaces.3.gz
  • %%PERL5_MAN3%%/XML::Compile::Schema::Specs.3.gz
  • %%PERL5_MAN3%%/XML::Compile::Translate.3.gz
  • %%PERL5_MAN3%%/XML::Compile::Translate::Reader.3.gz
  • %%PERL5_MAN3%%/XML::Compile::Translate::Template.3.gz
  • %%PERL5_MAN3%%/XML::Compile::Translate::Writer.3.gz
  • %%PERL5_MAN3%%/XML::Compile::Util.3.gz
distinfo 1
FileSizeSHA256
XML-Compile-1.64.tar.gz2106858b62cad0b28845328039c4a12056cdc672376674e48cd7d8486c87c825ce4c79
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.