2017-04-16 21:13:39 +00:00
|
|
|
defmodule RDF.Datatype.NS do
|
2018-06-08 10:26:52 +00:00
|
|
|
@moduledoc !"""
|
|
|
|
Since the capability of RDF.Vocabulary.Namespaces requires the compilation
|
|
|
|
of the RDF.NTriples.Decoder and the RDF.NTriples.Decoder depends on RDF.Literals,
|
|
|
|
we can't define the XSD namespace in RDF.NS.
|
|
|
|
"""
|
2017-04-16 21:13:39 +00:00
|
|
|
|
|
|
|
use RDF.Vocabulary.Namespace
|
|
|
|
|
2017-06-10 19:52:16 +00:00
|
|
|
@vocabdoc false
|
2017-04-16 21:13:39 +00:00
|
|
|
defvocab XSD,
|
2017-08-20 20:35:14 +00:00
|
|
|
base_iri: "http://www.w3.org/2001/XMLSchema#",
|
2017-04-16 21:13:39 +00:00
|
|
|
terms: ~w[
|
|
|
|
string
|
|
|
|
normalizedString
|
|
|
|
token
|
|
|
|
language
|
|
|
|
Name
|
|
|
|
NCName
|
|
|
|
ID
|
|
|
|
IDREF
|
|
|
|
IDREFS
|
|
|
|
ENTITY
|
|
|
|
ENTITIES
|
|
|
|
NMTOKEN
|
|
|
|
NMTOKENS
|
|
|
|
boolean
|
|
|
|
float
|
|
|
|
double
|
|
|
|
decimal
|
|
|
|
integer
|
|
|
|
long
|
|
|
|
int
|
|
|
|
short
|
|
|
|
byte
|
|
|
|
nonPositiveInteger
|
|
|
|
negativeInteger
|
|
|
|
nonNegativeInteger
|
|
|
|
positiveInteger
|
|
|
|
unsignedLong
|
|
|
|
unsignedInt
|
|
|
|
unsignedShort
|
|
|
|
unsignedByte
|
|
|
|
duration
|
2018-09-14 12:12:12 +00:00
|
|
|
dayTimeDuration
|
|
|
|
yearMonthDuration
|
2017-04-16 21:13:39 +00:00
|
|
|
dateTime
|
|
|
|
time
|
|
|
|
date
|
|
|
|
gYearMonth
|
|
|
|
gYear
|
|
|
|
gMonthDay
|
|
|
|
gDay
|
|
|
|
gMonth
|
|
|
|
base64Binary
|
|
|
|
hexBinary
|
|
|
|
anyURI
|
|
|
|
QName
|
|
|
|
NOTATION
|
|
|
|
]
|
|
|
|
|
|
|
|
end
|