oasis.compile-parsed-catalog

function

Library: OASIS catalogs (OMOASISCATALOGS)
Import : omoasiscatalogs.xmd

Returns: OASIS catalog compiled from the parsed markup stream


Declaration
export catalog-type function
   compile-parsed-catalog            value markup source         parsed-catalog
                                 via value entity-resolver       resolver       optional
                          preference value resolution-preference preference     optional
      

Argument definitions

parsed-catalog
the parsed catalog markup stream
resolver
an entity-resolver to be used for resolving the parts of the catalog being compiled
preference
either oasis.prefer-public or oasis.prefer-system; the latter is the default


Purpose

Function oasis.compile-parsed-catalog compiles from the given parsed-catalog an instance of oasis.catalog-type. In case of a failure, the function throws an oasis.compile-error.

Related Topics
Other Library Functions