Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eac-validator
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
snac
eac-validator
Commits
a88a0e52
Commit
a88a0e52
authored
Jul 26, 2016
by
Robbie Hott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Nov 2012 cpf.rng version
parent
97b81afd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
10 deletions
+56
-10
cpf.rng
rng/cpf.rng
+56
-10
No files found.
rng/cpf.rng
View file @
a88a0e52
<?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
SCHEMA TYPE: Relax NG Schema XML
...
...
@@ -219,7 +245,12 @@
<optional>
<ref
name=
"id"
/>
</optional>
<ref
name=
"m.data.standardRepository"
/>
<optional>
<attribute
name=
"type"
>
<text/>
</attribute>
</optional>
<ref
name=
"m.data.standardRepository"
></ref>
</element>
</optional>
<zeroOrMore>
...
...
@@ -227,8 +258,7 @@
<optional>
<ref
name=
"id"
/>
</optional>
<ref
name=
"a.localType"
/>
<data
type=
"NMTOKEN"
/>
<ref
name=
"m.id"
/>
</element>
</zeroOrMore>
<element
a:id=
"agencyName"
name=
"agencyName"
>
...
...
@@ -586,10 +616,14 @@
<optional>
<ref
name=
"id"
/>
</optional>
<data
type=
"NMTOKEN"
>
<
!-- NMTOKEN instead of maintenance agency code constraints because the
code may be a non-conforming, i.e. otherAgencyCode --
>
<data
type=
"token"
>
<
param
name=
"pattern"
>
[\S]+
</param
>
</data>
<!--data type="NMTOKEN">
NMTOKEN instead of maintenance agency code constraints because the
code may be a non-conforming, i.e. otherAgencyCode
</data-->
</element>
</zeroOrMore>
</element>
...
...
@@ -1503,6 +1537,9 @@
<optional>
<ref
name=
"lang"
/>
</optional>
<optional>
<ref
name=
"a.localType"
/>
</optional>
<ref
name=
"m.dateSingle"
/>
</element>
</optional>
...
...
@@ -1514,6 +1551,9 @@
<optional>
<ref
name=
"lang"
/>
</optional>
<optional>
<ref
name=
"a.localType"
/>
</optional>
<ref
name=
"m.dateSingle"
/>
</element>
</optional>
...
...
@@ -1612,19 +1652,25 @@
<ref
name=
"a.transliteration"
/>
</optional>
</define>
</div>
<define
name=
"m.data.standardRepository"
>
<data
type=
"token"
>
<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
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
(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>
</data>
This modifies the release pattern to correct length maximum of 16 logic
<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"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment