BDE 4.14.0 Production release
Loading...
Searching...
No Matches
s_baltst_basicschemautil

Detailed Description

Outline

Purpose

Provide utilities for s_baltst::BasicSchema objects.

Classes

See also
balxml_configschema, bdem_configschema

Description

This component defines a struct, s_baltst::BasicSchemaUtil, that acts as a namespace for a suite of utility functions providing non-primitive operations on s_baltst::BasicSchema objects.

Checking Structural Equivalence Up To Annotation

The most important operation provided by s_baltst::BasicSchemaUtil is areEqualUpToAnnotation, which compares 2 basic schema objects and returns true if they are structurally equal except for the presence or absence of annotations. This can be used, for example, to test that a basic schema object parsed from an XML schema definition has an expected structure, without worrying about having to check the structure of its documentation.