From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Aug 29 00:20:23 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE81916A4E1 for ; Tue, 29 Aug 2006 00:20:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1214943D46 for ; Tue, 29 Aug 2006 00:20:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7T0KM5h076168 for ; Tue, 29 Aug 2006 00:20:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7T0KMTf076167; Tue, 29 Aug 2006 00:20:22 GMT (envelope-from gnats) Resent-Date: Tue, 29 Aug 2006 00:20:22 GMT Resent-Message-Id: <200608290020.k7T0KMTf076167@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jin-Shan Tseng Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFB5816A4DA for ; Tue, 29 Aug 2006 00:15:10 +0000 (UTC) (envelope-from tjs@Pluto.CDPA.nsysu.edu.tw) Received: from Pluto.CDPA.nsysu.edu.tw (Pluto.CDPA.nsysu.edu.tw [140.117.205.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 430F243D46 for ; Tue, 29 Aug 2006 00:15:10 +0000 (GMT) (envelope-from tjs@Pluto.CDPA.nsysu.edu.tw) Received: from Pluto.CDPA.nsysu.edu.tw (localhost [127.0.0.1]) by Pluto.CDPA.nsysu.edu.tw (8.13.8/8.13.8) with ESMTP id k7T0F7UE049868 for ; Tue, 29 Aug 2006 08:15:07 +0800 (CST) (envelope-from tjs@Pluto.CDPA.nsysu.edu.tw) Received: (from root@localhost) by Pluto.CDPA.nsysu.edu.tw (8.13.8/8.13.8/Submit) id k7T0F71V049867; Tue, 29 Aug 2006 08:15:07 +0800 (CST) (envelope-from tjs) Message-Id: <200608290015.k7T0F71V049867@Pluto.CDPA.nsysu.edu.tw> Date: Tue, 29 Aug 2006 08:15:07 +0800 (CST) From: Jin-Shan Tseng To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/102626: [NEW PORT] textproc/p5-XML-Compile: Compilation based XML processing X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2006 00:20:23 -0000 >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 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 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: