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

Macros for the definition of primitive XSD datatypes.

Link to this section Summary

Functions

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

Link to this section 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.