function
Returns: OASIS catalog compiled from the given URI |
export catalog-type function compile-catalog-resource value string uri via value entity-resolver resolver optional preference value resolution-preference preference optional
Argument definitions
entity-resolver
to be used for resolving the parts of the catalog being compiled
oasis.prefer-public
or oasis.prefer-system
; the latter is the default
Function oasis.compile-catalog-resource
loads an OASIS catalog file from the specified uri
and compiles from it an instance of oasis.catalog-type
. In case of a failure, the function throws an
oasis.compile-error
.