-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add validation for cases that use the "EASList" value in the @...Encoding attributes of <control> #6
Comments
These lists should be ready for testing now. Thanks for compiling this ticket so thoroughly!!! |
Tested with XSD and RNG (both including the Schematron) and can confirm that this is implemented as expected for the attributes However, when I add
I've also realised that I forgot the attribute It should also be noted that - for now - the Schematron does not require these |
Should be ready again for testing, minus the last point, which is not currently enforced. I would also expect that we wouldn't preclude someone from using a value from an EASList (e.g., 'country') when not using the "EASList" setting? |
Re-tested with the XSD and the RNG (including the "ead4" branch Schematron) and can confirm that this now also works for For My last note in the previous comment was only for documenting this. Eventually, I would expect that the Schematron gives a message that, when using one of the relevant attributes in the |
Adding @marieelia as eventually this might also apply to EAC-CPF given that it would be expected for EAC-CPF to also remove the predefined values from attributes and to use the Also, for reference: the point about ensuring that |
Creator of issue
The issue relates to
Wanted change/feature
@...Encoding
attributes within<control>
, users can decide to use the "EASList" for values in the respective attributes within the descriptive part of EAD or any other, i.e. their own lists (either completely different from the EAS lists or an extension of them.addressLineTypeEncoding
is used with the value "EASList", the@addressLineType
attribute should only contain one of the following values: county, country, district, municipality, postBox, postalCode, region, street@audienceEncoding
is used with the value "EASList", the@audience
attribute should only contain one of the following values: external, internalcontactLineTypeEncoding
is used with the value "EASList", the@contactLineType
attribute should only contain one of the following values: directions, email, fax, homepage, mobileNumber, phoneNumbercoverageEncoding
is used with the value "EASList", the@coverage
attribute should only contain one of the following values: part, wholedetailLevelEncoding
is used with the value "EASList", the@detailLevel
attribute should only contain one of the following values: basic, extended, minimaldescriptionOfComponentsTypeEncoding
is used with the value "EASList", the@descriptionOfComponentsType
attribute should only contain one of the following values: analyticOverview, combined, inDepthlevelEncoding
is used with the value "EASList", the@level
attribute should only contain one of the following values: class, collection, file, fonds, item, recordGroup, series, subfonds, subgroup, subseriesmaintenanceEventTypeEncoding
is used with the value "EASList", the@maintenanceEventType
attribute should only contain one of the following values: cancelled, created, deleted, derived, revised, unknown, updatedmaintenanceStatusEncoding
is used with the value "EASList", the@maintenanceStatus
attribute should only contain one of the following values: cancelled, deleted, deletedMerged, deletedReplaced, deletedSplit, derived, new, revisedphysDescStructuredTypeEncoding
is used with the value "EASList", the@physDescStructuredType
attribute should only contain one of the following values: carrier, materialType, spaceOccupiedpublicationStatusEncoding
is used with the value "EASList", the@publicationStatus
attribute should only contain one of the following values: approved, inProcess, publishedstatusEncoding
is used with the value "EASList", the@status
attribute should only contain one of the following values: alternative, authorized, ongoing, unknownunitDateTypeEncoding
is used with the value "EASList", the@unitDateType
attribute should only contain one of the following values: bulk, inclusiveNote: While most of the values listed above have been kept as they are in EAD3 (respectively EAC-CPF 2.0), some have been adapted to camelCasing respectively to full length. These values are:
@descriptionOfComponentsType
@level
@physDescStructuredType
The spelling of these attribute values will hence need to be adapted as part of the general conversion to EAD 4.0, which will be developed in one of the next stages of the revision process.
The text was updated successfully, but these errors were encountered: