Closed kerstarno closed 9 months ago
Should be ready to test, though I haven't looked at this in a while.
All but Add option to include attributes from any other namespace tested and worked (Issue #28). @fordmadox I'm not sure how to test this particular issue with my very old version of oXygen.
Some overall notes:
<language>
is a sub-element of <languageOfMaterial>
. In EAC-CPF, <language>
is a sub-element of <languageUsed>
.@id
to successfully validate: @conventionDeclarationReference
, @maintenanceEventReference
, @sourceReference
and @target
.@deletedname - Hi Iris, just picking up on the question around testing for the attributes from other namespaces. The following works with my Oxygen version 20, so hopefully it'll work with your older version as well:
@xmlns:xlink="http://www.w3.org/1999/xlink"
to <ead>
and I include "http://www.w3.org/1999/xlink http://www.loc.gov/standards/xlink/xlink.xsd"
into the @xsi:schemaLocation
attribute that already holds the EAD4 schema location
@xlink:href=""
to any element and the file still validates (note that the attribute doesn't actually need to have a value)@xmlns:xlink="http://www.w3.org/1999/xlink"
and then @xlink:href=""
for example to the <language>
element
Thank you @kerstarno! The RNG and XSD files have been tested successfully.
Creator of issue
The issue relates to
Wanted change/feature
<languageDeclaration>
and in<langmaterial>
to align with EAC-CPF.Note for working on and testing this issue: When the schema changes are done in the respective development branch, please mark the tasks on the highest levels of the list (printed in bold) by ticking the box. When the changes have been tested successfully, please mark the tasks on the lowest level by ticking the box.
<languageDeclaration>
see #32<language>
@audience
(see #1)@lang
and@script
to@languageOfElement
and@scriptOfElement
respectively (see #30)@target
(see #31) (optional)@conventionDeclarationReference
,@maintenanceEventReference
,@sourceReference
(see #11) (optional)@langcode
to@languageCode
@altrender
,@encodinganalog
, and@label
<languageset>
<languageSet>
<script>
with<writingSystem>
@audience
(see #1)@lang
and@script
to@languageOfElement
and@scriptOfElement
respectively (see #30)@target
(see #31) (optional)<script>
and add<writingSystem>
<writingSystem>
...@audience
(optional)@id
(optional)@target
(optional)@languageOfElement
(optional), changed from@lang
in<script>
@scriptOfElement
(optional), changed from@script
in<script>
@maintenanceEventReference
(optional)@sourceReference
(optional)@conventionDeclarationReference
(optional)@scriptCode
(optional), changed from@scriptcode
in<script>
@encodinganalog
nor@label
anymore