Parse-ACNS

 view release on metacpan or  search on metacpan

MANIFEST  view on Meta::CPAN

Makefile.PL
MANIFEST			This list of files
META.yml
README
share/schema/0.6/acns.xsd
share/schema/0.7/acns.xsd
share/schema/1.0/acns.xsd
share/schema/1.1/acns.xsd
share/schema/1.2/acns.xsd
share/schema/compat/acns.xsd
share/schema/xmldsig.xsd
share/schema/xmlmime.xsd
t/basics.t
t/data/0.6/full.xml
t/data/0.6/full.yaml
t/data/0.7/full.xml
t/data/0.7/full.yaml
t/data/1.1/full.xml
t/data/1.1/full.yaml
t/data/1.2/full.xml
t/data/1.2/full.yaml

SIGNATURE  view on Meta::CPAN

SHA1 916813253f3ecced9ab88b7131d0a485fb59ec87 inc/Module/Install/Share.pm
SHA1 f8b2ae3386f6ba26c33408968a953d450842eade inc/Module/Install/Win32.pm
SHA1 f302bc703d76299cff243e5b44cecd61aac27b76 inc/Module/Install/WriteAll.pm
SHA1 2e7766308f570bfca133ab99a8eada69511b1297 lib/Parse/ACNS.pm
SHA1 1338d6afdb53d2f1d88ee0889b8fd6d2f000558c share/schema/0.6/acns.xsd
SHA1 79eb9e2d0b75de9d031a2f80df74ed73f815040b share/schema/0.7/acns.xsd
SHA1 0f4d4a261ecac777a996e6224aacb5e07ed0c036 share/schema/1.0/acns.xsd
SHA1 8eb677a749310754f8e0dcdb9490063856cf012e share/schema/1.1/acns.xsd
SHA1 de05a328363de107d3eed239a301f6589a1177d1 share/schema/1.2/acns.xsd
SHA1 c3bf4ef65087206053fd5b9798928dfa948c2e8e share/schema/compat/acns.xsd
SHA1 6e61b4fb62b292090b796b17b25e8215bca8e187 share/schema/xmldsig.xsd
SHA1 3801111554ff29570ebf757e0938f815ee94bc18 share/schema/xmlmime.xsd
SHA1 06b06bfd339c9c6c1487afb33eb835af1bb341ef t/basics.t
SHA1 d7134a8bc50b7e4b271ff3fa0202df49c1417ae6 t/data/0.6/full.xml
SHA1 3caff79a45a49b5fb59fbda0aa1d1b1d8e63887e t/data/0.6/full.yaml
SHA1 0b01f1e6e1aaa4c3c323c3d2799e206a29a93e46 t/data/0.7/full.xml
SHA1 9d0fe146cd6b78c2a59dc3712fb3506af40f3520 t/data/0.7/full.yaml
SHA1 629a2e12852a8c40cad482a97567228a817fbf59 t/data/1.1/full.xml
SHA1 b92b85b001f378b68d1cd18130d1a1aba90266b5 t/data/1.1/full.yaml
SHA1 c430ae67bb66bfdd9ea047fbb165a2a147af6468 t/data/1.2/full.xml
SHA1 eff6617cd4d6ea2bf11792409c8848be9b7849ba t/data/1.2/full.yaml

lib/Parse/ACNS.pm  view on Meta::CPAN


my %NS = (
    '1.0' => 'http://www.movielabs.com/ACNS',
    '1.1' => 'http://www.movielabs.com/ACNS',
    '1.2' => 'http://www.acns.net/ACNS',
    'compat' => 'http://www.acns.net/ACNS',
);
my %SUPLIMENTARY = (
    '1.0' => ['xmlmime'],
    '1.1' => ['xmlmime'],
    '1.2' => ['xmlmime', 'xmldsig'],
);

sub reader {
    my $self = shift;
    my $version = shift;
    my $element = shift || 'Infringement';

    return $CACHE{$version}{'element'}{$element}
        if $CACHE{$version}{'element'}{$element};

share/schema/1.2/acns.xsd  view on Meta::CPAN

<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XMLSpy v2011 rel. 3 (x64) (http://www.altova.com) by Craig Seidel (private) -->
<!--Created with Liquid XML Studio 6.1.17.0 (http://www.liquid-technologies.com)-->
<xs:schema xmlns="http://www.acns.net/ACNS" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:altova="http://www.altova.com/xml-schema-extensions" targetNam...
	<xs:import namespace="http://www.w3.org/2005/05/xmlmime" schemaLocation="http://www.w3.org/2005/05/xmlmime"/>
	<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd"/>
	<!--ACNS 2 v1.2-->
	<xs:attribute name="schemaVersion" type="xs:string" fixed="1.2"/>
	<xs:complexType name="Contact">
		<xs:all>
			<xs:element name="Entity" type="xs:string"/>
			<xs:element name="Contact" type="xs:string" minOccurs="0"/>
			<xs:element name="Address" type="xs:string" minOccurs="0"/>
			<xs:element name="Phone" type="xs:string" minOccurs="0"/>
			<xs:element name="Email" type="xs:string"/>
			<xs:element name="ContactURL" type="xs:anyURI" minOccurs="0"/>

share/schema/compat/acns.xsd  view on Meta::CPAN

<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XMLSpy v2011 rel. 3 (x64) (http://www.altova.com) by Craig Seidel (private) -->
<!--Created with Liquid XML Studio 6.1.17.0 (http://www.liquid-technologies.com)-->
<xs:schema xmlns="http://www.acns.net/ACNS" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:altova="http://www.altova.com/xml-schema-extensions" targetNam...
	<xs:import namespace="http://www.w3.org/2005/05/xmlmime" schemaLocation="http://www.w3.org/2005/05/xmlmime"/>
	<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd"/>
	<!--ACNS 2 v1.2-->
	<xs:attribute name="schemaVersion" type="xs:string" fixed="compat"/>
	<xs:complexType name="Contact">
		<xs:all>
			<xs:element name="Entity" type="xs:string"/>
			<xs:element name="Contact" type="xs:string" minOccurs="0"/>
			<xs:element name="Address" type="xs:string" minOccurs="0"/>
			<xs:element name="Phone" type="xs:string" minOccurs="0"/>
			<xs:element name="Email" type="xs:string"/>
			<xs:element name="ContactURL" type="xs:anyURI" minOccurs="0"/>

share/schema/xmldsig.xsd  view on Meta::CPAN

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE schema
  PUBLIC "-//W3C//DTD XMLSchema 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd"
 [
   <!ATTLIST schema 
     xmlns:ds CDATA #FIXED "http://www.w3.org/2000/09/xmldsig#">
   <!ENTITY dsig 'http://www.w3.org/2000/09/xmldsig#'>
   <!ENTITY % p ''>
   <!ENTITY % s ''>
  ]>

<!-- Schema for XML Signatures
    http://www.w3.org/2000/09/xmldsig#
    $Revision: 1.1 $ on $Date: 2002/02/08 20:32:26 $ by $Author: reagle $

    Copyright 2001 The Internet Society and W3C (Massachusetts Institute
    of Technology, Institut National de Recherche en Informatique et en
    Automatique, Keio University). All Rights Reserved.
    http://www.w3.org/Consortium/Legal/

    This document is governed by the W3C Software License [1] as described
    in the FAQ [2].

    [1] http://www.w3.org/Consortium/Legal/copyright-software-19980720
    [2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD
-->


<schema xmlns="http://www.w3.org/2001/XMLSchema"
        xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
        targetNamespace="http://www.w3.org/2000/09/xmldsig#"
        version="0.1" elementFormDefault="qualified"> 

<!-- Basic Types Defined for Signatures -->

<simpleType name="CryptoBinary">
  <restriction base="base64Binary">
  </restriction>
</simpleType>

<!-- Start Signature -->



( run in 1.659 second using v1.01-cache-2.11-cpan-71847e10f99 )