Glossary
A
- ambiguous
A pattern is ambiguous when a fragment of an instance document can be valid against using several alternatives in its
choicepatterns. RELAX NG allows ambiguous patterns, but they can be a problem for annotation and datatype assignment.
C
- chameleon design
Specifying a namespace in
include,externalRef, orparentRefto give a namespace to grammars or patterns defined without a namespace is known as chameleon design, because the imported grammar or pattern takes on the new namespace like a chameleon takes on the color of the environment in which it is placed.- character class
In a regular expression, a character class is an atom that matches a set of characters. Character classes may be classical Perl character classes, Unicode character classes, or user-defined character classes.
- classical Perl character class
A set of character classes designated by a single letter, for which upper- and lowercases of the same letter are complementary (for instance,
\dis all the decimal digits, and\Dis all the characters that aren’t decimal digits).- compositor
A compositor is a pattern that can be used to combine other patterns. RELAX NG has three basic compositors:
group,choice, andinterleave. A fourth compositor,mixed, is a shortcut forinterleavewith an embeddedtextpattern.- content model
A description of the structure of child elements and text nodes (independent of attributes). The content model is simple when there is a text node but no elements, complex when there are element ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access