59 lines
1.2 KiB
Elixir
59 lines
1.2 KiB
Elixir
defmodule RDF.Datatype.NS do
|
|
@moduledoc false
|
|
|
|
# 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.
|
|
|
|
use RDF.Vocabulary.Namespace
|
|
|
|
defvocab XSD,
|
|
base_uri: "http://www.w3.org/2001/XMLSchema#",
|
|
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
|
|
dateTime
|
|
time
|
|
date
|
|
gYearMonth
|
|
gYear
|
|
gMonthDay
|
|
gDay
|
|
gMonth
|
|
base64Binary
|
|
hexBinary
|
|
anyURI
|
|
QName
|
|
NOTATION
|
|
]
|
|
|
|
end
|