Skip to content

Commit

Permalink
TypedURI script and language attributes: relaton/relaton-bipm#38
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Sep 22, 2022
1 parent 0d06e95 commit e1d76b2
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions grammars/biblio.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,8 @@ TypedTitleString =

TypedUri =
attribute type { text }?,
attribute language { text }?,
attribute script { text }?,
xsd:anyURI

DateType =
Expand Down
6 changes: 6 additions & 0 deletions grammars/biblio.rng
Original file line number Diff line number Diff line change
Expand Up @@ -854,6 +854,12 @@
<optional>
<attribute name="type"/>
</optional>
<optional>
<attribute name="language"/>
</optional>
<optional>
<attribute name="script"/>
</optional>
<data type="anyURI"/>
</define>
<define name="DateType">
Expand Down
Binary file modified images/RelBib_DataTypes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions models/TypedUri.lutaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ class TypedUri{
the IANA link relations specified in <<rfc8288>>.
}
}
+language: Iso639Code[0..*] {
definition {
Language of string.
}
}
+script: Iso15924Code[0..*] {
definition {
Script of string.
}
}
+content: Uri {
definition {
URI.
Expand Down

0 comments on commit e1d76b2

Please sign in to comment.