MarkLogic 9 Product Documentation
sem.invalid

sem.invalid(
   string as String,
   datatype as sem.iri
) as sem.invalid

Summary

Returns a sem:invalid value with the given literal value and datatype IRI. The sem:invalid type extends xs:untypedAtomic, and represents an RDF value whose literal string is invalid according to the schema for it's datatype.

This function is a built-in.

Parameters
string The lexical value.
datatype The datatype IRI.

Example

xdmp.describe(sem.invalid("invalid value", sem.iri("string")));
=>
sem.invalid("invalid value", sem.iri("string"))
Powered by MarkLogic Server | Terms of Use | Privacy Policy