Skip to content

Commit

Permalink
fix: Nerve: coalesce ID attr used for tracking candidates
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaju committed May 28, 2021
1 parent 34e831e commit ff679a7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/js/schema/cwrcEntry/mappings.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const handleGraphics = $tag => {

const mapping = {

id: 'ID',
id: 'xml:id', //What is this for? iF it is just for tracking candidates on NERVE panel, we can called it something else, like CANDIDATE_ID
responsibility: 'RESP',
rdfParentSelector: '/CWRC/CWRCHEADER',
root: ['CWRC'],
Expand Down
2 changes: 1 addition & 1 deletion src/js/schema/orlando/mappings.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const handleGraphics = $tag => {

const mapping = {

id: 'ID',
id: 'xml:id', //What is this for? iF it is just for tracking candidates on NERVE panel, we can called it something else, like CANDIDATE_ID
responsibility: 'RESP',
rdfParentSelector: '/*/ORLANDOHEADER/FILEDESC/following-sibling::XENODATA',
root: ['ENTRY', 'EVENT', 'BIOGRAPHY', 'WRITING'],
Expand Down
2 changes: 1 addition & 1 deletion src/js/schema/tei/mappings.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const handleGraphics = $tag => {
const mapping = {

namespace: 'http://www.tei-c.org/ns/1.0',
id: 'xml:id',
id: 'xml:id', //What is this for? iF it is just for tracking candidates on NERVE panel, we can called it something else, like CANDIDATE_ID
responsibility: 'resp',
rdfParentSelector: '/TEI/teiHeader/fileDesc/following-sibling::xenoData',
root: ['TEI', 'teiCorpus'],
Expand Down

0 comments on commit ff679a7

Please sign in to comment.