Name

notAllowed — Not allowed

Synopsis

“notAllowed”

Restrictions

pattern

May be included in

(pattern), attribute, datatypeName param exceptPattern, element, list, mixed, pattern&pattern, pattern*, pattern+, pattern,pattern, pattern?, pattern|pattern

XML syntax equivalent

notAllowed

Description

The notAllowed pattern always fails. It can provide abstract definitions that must be overridden before they can be used in a schema.

Example

 isbn-element |= notAllowed

Get RELAX NG now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.