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">
...@@ -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>
...@@ -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>
...@@ -1612,19 +1652,25 @@ ...@@ -1612,19 +1652,25 @@
<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">
<param name="pattern"
>[\S]+</param>
</data>
<!--
<a:documentation>This pattern represents the character pattern requirements of ISIL (ISO <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>
<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>
<define name="e.term"> <define name="e.term">
......
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