relaton / relaton-nist

NistBib: retrieve NIST Standards for bibliographic use using the BibliographicItem model
https://www.metanorma.com
MIT License
2 stars 2 forks source link

bibdata refactor changes #15

Closed opoudjis closed 5 years ago

opoudjis commented 5 years ago

The following changes impact this gem, as elements moved to bibdata/ext from bibitem. All elements specific to NIST must be populated in bibdata/ext; please ask me if there are any changes not covered in the following.

The grammar of ext is:

DocumentType =
        "standard"

editorialgroup = element editorialgroup {
  committee+
}

bkeyword = element keyword { text }

commentperiod = element commentperiod {
element from { ISO8601Date },
element to { ISO8601Date }?,
element extended { ISO8601Date }?
}

BibDataExtensionType =
    doctype?, bkeyword+, commentperiod?
andrew2net commented 5 years ago

@opoudjis I see editorialgroup definition only? Where do we use the definition?

opoudjis commented 5 years ago

Answered offline

ronaldtse commented 5 years ago

@opoudjis what is editorialgroup used for? It's not in the Relaton-NIST model: https://raw.githubusercontent.com/metanorma/metanorma-model-nist/master/images/nist-bibliographic-item.png

opoudjis commented 5 years ago

It isn't. It was, and I hadn't taken the definition out, but I had taken out its instance in bibdata. I've removed the definition now too.