View Source RDF.XSD.Datatype.Primitive (RDF.ex v1.2.0)

Macros for the definition of primitive XSD datatypes.

Summary

Functions

Specifies the applicability of the given XSD facet on a primitive datatype.

Functions

Link to this macro

def_applicable_facet(facet)

View Source (macro)

Specifies the applicability of the given XSD facet on a primitive datatype.

For a facet with the name example_facet this requires a function

def example_facet_conform?(example_facet_value, literal_value, lexical) do

end

to be defined on the primitive datatype.