From 6a32bc98c473952b97df813aadb5e1c8e6622551 Mon Sep 17 00:00:00 2001 From: Nick Nicholas Date: Wed, 9 Oct 2024 21:00:58 +1100 Subject: [PATCH] refactor date --- grammars/biblio.rnc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/grammars/biblio.rnc b/grammars/biblio.rnc index 1749849..ecd4dbc 100644 --- a/grammars/biblio.rnc +++ b/grammars/biblio.rnc @@ -798,10 +798,7 @@ BibliographicDateType = ## Significant date in the lifecycle of the bibliographic item, including its production and its access bdate = element date { - ## The phase of the production of or access to a bibliographic item - attribute type { ( BibliographicDateType | text ) }, - ## An optional textual description of the date, especially when a Gregorian date is not applicable - attribute text { text }?, + bDateAttributes, ( ( ## The start of the date range described @@ -814,6 +811,12 @@ bdate = element date { )? } +bDateAttributes = + ## The phase of the production of or access to a bibliographic item + attribute type { ( BibliographicDateType | text ) }, + ## An optional textual description of the date, especially when a Gregorian date is not applicable + attribute text { text }? + ## An identifier of a bibliographic item in an international standard scheme docidentifier = element docidentifier { DocIdentifierType }