Commit a88a0e52 by Robbie Hott

Nov 2012 cpf.rng version

parent 97b81afd
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- <!--
*****************
SNAC localization:
1. 20121012
added the following to the define for <fromDate> and <toDate>
<optional>
<ref name="a.localType"/>
</optional>
2. 20121115
relax regular expression for <agencyCode> to simply a token (not NMTOKEN; only white space restricted: [\S]+)
added type attribute, example values: ISIL (registered); ISIL (compatible); and so on.
relax value of <otherAgencyCode> from NMTOKEN to text
<preferredForm> changed from NMTOKEN to token: [\S]+ to correspond with <agencyCode>, as it is the agency
code value that is intended to be used in <preferredForm>
*****I also would like to add <preferredForm> to <nameEntry> not in <parallelEntry>
*******************
ENCODED ARCHIVAL CONTEXT-CORPORATE BODIES, PERSONS, AND FAMILIES (EAC-CPF) SCHEMA ENCODED ARCHIVAL CONTEXT-CORPORATE BODIES, PERSONS, AND FAMILIES (EAC-CPF) SCHEMA
SCHEMA TYPE: Relax NG Schema XML SCHEMA TYPE: Relax NG Schema XML
...@@ -219,7 +245,12 @@ ...@@ -219,7 +245,12 @@
<optional> <optional>
<ref name="id"/> <ref name="id"/>
</optional> </optional>
<ref name="m.data.standardRepository"/> <optional>
<attribute name="type">
<text/>
</attribute>
</optional>
<ref name="m.data.standardRepository"></ref>
</element> </element>
</optional> </optional>
<zeroOrMore> <zeroOrMore>
...@@ -227,8 +258,7 @@ ...@@ -227,8 +258,7 @@
<optional> <optional>
<ref name="id"/> <ref name="id"/>
</optional> </optional>
<ref name="a.localType"/> <ref name="m.id"/>
<data type="NMTOKEN"/>
</element> </element>
</zeroOrMore> </zeroOrMore>
<element a:id="agencyName" name="agencyName"> <element a:id="agencyName" name="agencyName">
...@@ -451,7 +481,7 @@ ...@@ -451,7 +481,7 @@
</oneOrMore> </oneOrMore>
</element> </element>
</define> </define>
</div> </div>
<div a:documentation="Identity"> <div a:documentation="Identity">
...@@ -586,10 +616,14 @@ ...@@ -586,10 +616,14 @@
<optional> <optional>
<ref name="id"/> <ref name="id"/>
</optional> </optional>
<data type="NMTOKEN"> <data type="token">
<!-- NMTOKEN instead of maintenance agency code constraints because the <param name="pattern"
code may be a non-conforming, i.e. otherAgencyCode --> >[\S]+</param>
</data> </data>
<!--data type="NMTOKEN">
NMTOKEN instead of maintenance agency code constraints because the
code may be a non-conforming, i.e. otherAgencyCode
</data-->
</element> </element>
</zeroOrMore> </zeroOrMore>
</element> </element>
...@@ -617,7 +651,7 @@ ...@@ -617,7 +651,7 @@
</div> </div>
<div a:documentation="Description"> <div a:documentation="Description">
<define name="e.description"> <define name="e.description">
<element a:id="description" name="description"> <element a:id="description" name="description">
<optional> <optional>
...@@ -1094,7 +1128,7 @@ ...@@ -1094,7 +1128,7 @@
<text/> <text/>
</element> </element>
</define> </define>
</div> </div>
<define name="e.structureOrGenealogy"> <define name="e.structureOrGenealogy">
...@@ -1327,11 +1361,11 @@ ...@@ -1327,11 +1361,11 @@
<ref name="m.relationBody"/> <ref name="m.relationBody"/>
</element> </element>
</define> </define>
</div> </div>
<div a:documentation="alternativeSet"> <div a:documentation="alternativeSet">
<define name="e.alternativeSet"> <define name="e.alternativeSet">
<element a:id="alternativeSet" name="alternativeSet"> <element a:id="alternativeSet" name="alternativeSet">
<optional> <optional>
...@@ -1385,7 +1419,7 @@ ...@@ -1385,7 +1419,7 @@
</oneOrMore> </oneOrMore>
</element> </element>
</define> </define>
</div> </div>
<div a:documentation="Shared"> <div a:documentation="Shared">
...@@ -1503,6 +1537,9 @@ ...@@ -1503,6 +1537,9 @@
<optional> <optional>
<ref name="lang"/> <ref name="lang"/>
</optional> </optional>
<optional>
<ref name="a.localType"/>
</optional>
<ref name="m.dateSingle"/> <ref name="m.dateSingle"/>
</element> </element>
</optional> </optional>
...@@ -1514,6 +1551,9 @@ ...@@ -1514,6 +1551,9 @@
<optional> <optional>
<ref name="lang"/> <ref name="lang"/>
</optional> </optional>
<optional>
<ref name="a.localType"/>
</optional>
<ref name="m.dateSingle"/> <ref name="m.dateSingle"/>
</element> </element>
</optional> </optional>
...@@ -1600,7 +1640,7 @@ ...@@ -1600,7 +1640,7 @@
<data type="NMTOKEN"/> <data type="NMTOKEN"/>
</attribute> </attribute>
</define> </define>
<define name="m.entryLanguageAttributes"> <define name="m.entryLanguageAttributes">
<optional> <optional>
<ref name="a.scriptCode"/> <ref name="a.scriptCode"/>
...@@ -1612,20 +1652,26 @@ ...@@ -1612,20 +1652,26 @@
<ref name="a.transliteration"/> <ref name="a.transliteration"/>
</optional> </optional>
</define> </define>
</div> </div>
<define name="m.data.standardRepository"> <define name="m.data.standardRepository">
<data type="token"> <data type="token">
<a:documentation>This pattern represents the character pattern requirements of ISIL (ISO <param name="pattern"
>[\S]+</param>
</data>
<!--
<a:documentation>This pattern represents the character pattern requirements of ISIL (ISO
15511). Values that conform to the pattern are not, strictly speaking, conformant to ISIL, as 15511). Values that conform to the pattern are not, strictly speaking, conformant to ISIL, as
all repository codes must be registered with a national authority and the national authority all repository codes must be registered with a national authority and the national authority
must be registered wth the official ISIL registering authority, the Royal Library of Belgium must be registered wth the official ISIL registering authority, the Royal Library of Belgium
(http://biblstandard.dk/isil/).</a:documentation> (http://biblstandard.dk/isil/).</a:documentation>
<param name="pattern"
>(([A-Z]{2})|([a-zA-Z]{1})|([a-zA-Z]{3,4}))(-[a-zA-Z0-9:/\-]{1,11})</param> This modifies the release pattern to correct length maximum of 16 logic
</data>
</define> <param name="pattern">([A-Z]{2}-[a-zA-Z0-9:/\-]{1,13})|([a-zA-Z]{1}-[a-zA-Z0-9:/\-]{1,14})|([a-zA-Z]{3}-[a-zA-Z0-9:/\-]{1,12})|([a-zA-Z]{4}-[a-zA-Z0-9:/\-]{1,11})</param>
-->
</define>
<define name="e.term"> <define name="e.term">
<element a:id="term" name="term"> <element a:id="term" name="term">
...@@ -1962,7 +2008,7 @@ ...@@ -1962,7 +2008,7 @@
</choice> </choice>
</attribute> </attribute>
</define> </define>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment