SAA-SDT / eac-cpf-schema

https://eac.staatsbibliothek-berlin.de/
10 stars 4 forks source link

@target #216

Closed SJagodzinski closed 2 years ago

SJagodzinski commented 3 years ago

Target

Add the new optional attribute @target with data Type IDREF to allow internal linking. Add @target next to @id as universal generic attribute to all elements except for <eac> (root element).

Data type: IDREF

Creator of issue

  1. Silke Jagodzinski
  2. TS-EAS: EAC-CPF subgroup
  3. silkejagodzinski@gmail.com

Related issues / documents

Topic_Reference

EAD3 Reconciliation

Summary: A pointer to the ID of another element. Used to create internal links within an XML instance. Available in <ptr> and <ref>. Data Type: IDREF

Context

new EAC-CPF attribute

Solution documentation:

Summary: A pointer to the ID of another element. Used to create internal links within an XML instance. Available in ... .

Data Type: IDREF

Example encoding

example encoding to follow

ailie-s commented 3 years ago

Tag Library Text:

Summary: A pointer to the ID of another element. Used to create internal links within an XML instance. Available in all elements except <eac>. Data Type: IDREFS

kerstarno commented 3 years ago

Tested as part of Schema Team's schema testing:

The above applies to both schemas, RNG and XSD.

The attribute is ready.

@ailie-s the data type has recently changed to IDREFS in order to allow for several IDs to be pointed to within one attribute.