Appendix B. XML Schema RegularExpression Grammar

Listing B.1 provides a complete grammar for XML Schema regular expressions. A regular expression is the value for a pattern constraining facet. Refer to Chapter 14 for a detailed discussion of how to write and incorporate regular expressions.

The file regexp.grammar in Listing B.1 contains detailed comments. This appendix contains no discussion other than the running commentary in the listing.

Listing B.1. The XML Schema Regular Expression Grammar (regexp.grammar)
 ;;;========================================================= ;;;========================================================= ;;; ;;; regexp.grammar ;;; ;;; The grammar in this file represents the XML Schema ;;; interpretation of a regular ...

Get XML Schema Complete Reference, The 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.