Package: cxml-types

Class validation-context

Superclasses

common-lisp:standard-object, sb-pcl::slot-object, common-lisp:t

Documented Subclasses

Details

This abstract class defines a protocol allowing data types to query the XML parser about its current state.

Some types are context dependent, as indicated by type-context-dependent-p. Those types need access to state computed by the XML parser implicitly, like namespace bindings or the Base URI.

User-defined subclasses must implement methods for the functions context-find-namespace-binding and context-find-unparsed-entity.

Two pre-defined validation context implementations are provided, one for use with SAX, the other based on Klacks.
 

See also