Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Aug 2006 08:15:07 +0800 (CST)
From:      Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/102626: [NEW PORT] textproc/p5-XML-Compile: Compilation based XML processing
Message-ID:  <200608290015.k7T0F71V049867@Pluto.CDPA.nsysu.edu.tw>
Resent-Message-ID: <200608290020.k7T0KMTf076167@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         102626
>Category:       ports
>Synopsis:       [NEW PORT] textproc/p5-XML-Compile: Compilation based XML processing
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 29 00:20:22 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jin-Shan Tseng
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
NCHC
>Environment:
System: FreeBSD Pluto.CDPA.nsysu.edu.tw 6.1-STABLE FreeBSD 6.1-STABLE #0: Sun Aug 27 11:18:22 CST 2006
>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.

WWW:	http://search.cpan.org/dist/XML-Compile/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-XML-Compile-0.05.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-XML-Compile
#	p5-XML-Compile/pkg-descr
#	p5-XML-Compile/Makefile
#	p5-XML-Compile/pkg-plist
#	p5-XML-Compile/distinfo
#
echo c - p5-XML-Compile
mkdir -p p5-XML-Compile > /dev/null 2>&1
echo x - p5-XML-Compile/pkg-descr
sed 's/^X//' >p5-XML-Compile/pkg-descr << 'END-of-p5-XML-Compile/pkg-descr'
XMany applications which process data-centric XML do that based
Xon a nice specification, expressed in an XML Schema.
XXML::Compile reads and writes XML data with the help of such
Xschema's. On the Perl side, it uses a tree of nested hashes
Xwith the same structure.
X
XWhere other Perl modules, like SOAP::WSDL help you using these
Xschema's (often with a lot of run-time (XPath) searches), this
Xmodule takes a different approach: in stead of run-time
Xprocessing of the specification, it will first compile the
Xexpected structure into real Perl, and then use that to process
Xthe data.
X
XThere are many perl modules with the same as this one: translate
Xbetween XML and nested hashes. However, there are a few serious
Xdifferences: because the schema is used here, we make sure we
Xonly handle correct data. Data-types are formatted and processed
Xcorrectly; for instance, integer does accept huge values
X(at least 18 digits) as the specification prescribes. Also more
Xcomplex data-types like list, union, and substitutionGroup
X(unions on complex type level) are supported, which is rarely the
Xcase in other modules.
X
XWWW:	http://search.cpan.org/dist/XML-Compile/
END-of-p5-XML-Compile/pkg-descr
echo x - p5-XML-Compile/Makefile
sed 's/^X//' >p5-XML-Compile/Makefile << 'END-of-p5-XML-Compile/Makefile'
X# New ports collection makefile for:	p5-XML-Compile
X# Date created:		2006-08-29
X# Whom:			Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	XML-Compile
XPORTVERSION=	0.05
XCATEGORIES=	textproc perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	XML
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	tjs@cdpa.nsysu.edu.tw
XCOMMENT=	Compilation based XML processing
X
XRUN_DEPENDS=	p5-XML-LibXML>=1.58:${PORTSDIR}/textproc/p5-XML-LibXML \
X	p5-Regexp-Common>=2.00:${PORTSDIR}/textproc/p5-Regexp-Common
XBUILD_DEPENDS=	${RUN_DEPENDS}
X
XPERL_CONFIGURE=	yes
X
XMAN3=	XML::Compile.3 XML::Compile::Schema.3 \
X	XML::Compile::Schema::BuiltInFacets.3 \
X	XML::Compile::Schema::BuiltInStructs.3 \
X	XML::Compile::Schema::BuiltInTypes.3 \
X	XML::Compile::Schema::Instance.3 \
X	XML::Compile::Schema::NameSpaces.3 \
X	XML::Compile::Schema::Specs.3 \
X	XML::Compile::Schema::Translate.3
X
X.include <bsd.port.mk>
END-of-p5-XML-Compile/Makefile
echo x - p5-XML-Compile/pkg-plist
sed 's/^X//' >p5-XML-Compile/pkg-plist << 'END-of-p5-XML-Compile/pkg-plist'
X@comment $FreeBSD$
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Compile/.packlist
X%%SITE_PERL%%/XML/Compile/Schema/Translate.pod
X%%SITE_PERL%%/XML/Compile/Schema/Translate.pm
X%%SITE_PERL%%/XML/Compile/Schema/Specs.pod
X%%SITE_PERL%%/XML/Compile/Schema/Specs.pm
X%%SITE_PERL%%/XML/Compile/Schema/NameSpaces.pod
X%%SITE_PERL%%/XML/Compile/Schema/NameSpaces.pm
X%%SITE_PERL%%/XML/Compile/Schema/Instance.pod
X%%SITE_PERL%%/XML/Compile/Schema/Instance.pm
X%%SITE_PERL%%/XML/Compile/Schema/BuiltInTypes.pod
X%%SITE_PERL%%/XML/Compile/Schema/BuiltInTypes.pm
X%%SITE_PERL%%/XML/Compile/Schema/BuiltInStructs.pod
X%%SITE_PERL%%/XML/Compile/Schema/BuiltInStructs.pm
X%%SITE_PERL%%/XML/Compile/Schema/BuiltInFacets.pod
X%%SITE_PERL%%/XML/Compile/Schema/BuiltInFacets.pm
X%%SITE_PERL%%/XML/Compile/Schema.pod
X%%SITE_PERL%%/XML/Compile/Schema.pm
X%%SITE_PERL%%/XML/Compile.pod
X%%SITE_PERL%%/XML/Compile.pm
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Compile
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML
X@dirrmtry %%SITE_PERL%%/XML/Compile/Schema
X@dirrmtry %%SITE_PERL%%/XML/Compile
X@dirrmtry %%SITE_PERL%%/XML
END-of-p5-XML-Compile/pkg-plist
echo x - p5-XML-Compile/distinfo
sed 's/^X//' >p5-XML-Compile/distinfo << 'END-of-p5-XML-Compile/distinfo'
XMD5 (XML-Compile-0.05.tar.gz) = 52fd320f9967ce3236bf5e2fe439a24f
XSHA256 (XML-Compile-0.05.tar.gz) = c9153fdfd398048d9d71180ae0bce9e7b0a0ee9f35677e2bc2c75efca11fa3d4
XSIZE (XML-Compile-0.05.tar.gz) = 49932
END-of-p5-XML-Compile/distinfo
exit
--- p5-XML-Compile-0.05.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608290015.k7T0F71V049867>