BS ISO/IEC 19757-2:2008
Current
The latest, up-to-date edition.
Information technology. Document schema definition language (DSDL) Regular-grammar-based validation. RELAX NG
Hardcopy , PDF
English
28-02-2009
Foreword
Introduction
1 Scope
2 Normative references
3 Terms and definitions
4 Notation
4.1 EBNF
4.2 Inference rules
4.2.1 Variables
4.2.2 Propositions
4.2.3 Expressions
5 Data model
6 Full syntax
7 Simplification
7.1 General
7.2 Annotations
7.3 Whitespace
7.4 datatypeLibrary attribute
7.5 type attribute of value element
7.6 href attribute
7.7 externalRef element
7.8 include element
7.9 name attribute of element and attribute elements
7.10 ns attribute
7.11 QNames
7.12 div element
7.13 Number of child elements
7.14 mixed element
7.15 optional element
7.16 zeroOrMore element
7.17 Constraints
7.18 combine attribute
7.19 grammar element
7.20 define and ref elements
7.21 notAllowed element
7.22 empty element
8 Simple syntax
9 Semantics
9.1 Inference rules
9.2 Name classes
9.3 Patterns
9.3.1 choice pattern
9.3.2 group pattern
9.3.3 empty pattern
9.3.4 text pattern
9.3.5 oneOrMore pattern
9.3.6 interleave pattern
9.3.7 element and attribute pattern
9.3.8 data and value pattern
9.3.9 Built-in datatype library
9.3.10 list pattern
9.4 Validity
10 Restrictions
10.1 General
10.2 Prohibited paths
10.2.1 General
10.2.2 attribute pattern
10.2.3 oneOrMore pattern
10.2.4 list pattern
10.2.5 except element in data pattern
10.2.6 start element
10.3 String sequences
10.4 Restrictions on attributes
10.5 Restrictions on interleave
11 Conformance
Annex A (normative) - RELAX NG schema for RELAX NG
Annex B (informative) - Examples
B.1 Data model
B.2 Full syntax example
B.3 Simple syntax example
B.4 Validation example
Annex C (normative) - RELAX NG Compact syntax
C.1 Introduction
C.2 Syntax
C.3 Lexical structure
C.4 Declarations
C.5 Annotations
C.5.1 Support for annotations
C.5.2 Initial annotations
C.5.3 Documentation shorthand
C.5.4 Following annotations
C.5.5 Grammar annotations
C.6 Conformance
C.6.1 Types of conformance
C.6.2 Validator
C.6.3 Structure preserving translator
C.6.4 Non-structure preserving translator
C.7 Media type registration template for the RELAX NG
Compact Syntax
Bibliography
Describes RELAX NG, a schema language for XML.
Committee |
IST/41
|
DevelopmentNote |
Supersedes 02/656954 DC. (12/2003)
|
DocumentType |
Standard
|
Pages |
54
|
PublisherName |
British Standards Institution
|
Status |
Current
|
Supersedes |
This part of ISO/IEC19757 specifies RELAX NG, a schema language for XML. A RELAX NG schema specifies a pattern for the structure and content of an XML document. The pattern is specified by using a regular tree grammar. This part of ISO/IEC19757 establishes requirements for RELAX NG schemas and specifies when an XML document matches the pattern specified by a RELAX NG schema.
Standards | Relationship |
ISO/IEC 19757-2:2008 | Identical |
Access your standards online with a subscription
Features
-
Simple online access to standards, technical information and regulations.
-
Critical updates of standards and customisable alerts and notifications.
-
Multi-user online standards collection: secure, flexible and cost effective.